Flutter: List all files in a bucket

Lists all the files within a bucket.

Examples

List files in a bucket

final List<FileObject> objects = await supabase
  .storage
  .from('avatars')
  .list();