List flagged task with Applescript

Hello
Sorry, if this is mundane and simple : how can I have a script that lists my flagged tasks?
thanks !