本页
    
    from.update()
用一个新的文件替换指定路径下的一个现有文件。
  final avatarFile = File('path/to/local/file');
final String path = await supabase.storage.from('avatars').update(
      'public/avatar1.png',
      avatarFile,
      fileOptions: const FileOptions(cacheControl: '3600', upsert: false),
    );
  
  Notes
- 需要的政策权限。
- buckets权限: 无
- objects的权限:- updateand- select
 
Examples
更新文件
  final avatarFile = File('path/to/local/file');
final String path = await supabase.storage.from('avatars').update(
      'public/avatar1.png',
      avatarFile,
      fileOptions: const FileOptions(cacheControl: '3600', upsert: false),
    );