saveBytes static method
Saves bytes under key in app storage (all platforms; web uses IndexedDB). await UFile.saveBytes("avatar.png", bytes)
Implementation
static Future<void> saveBytes(String key, List<int> bytes, {UStorageBucket bucket = UStorageBucket.support, Duration? expireIn, String? mimeType}) =>
UFileStorage.setBytes(key, bytes, bucket: bucket, expireIn: expireIn, mimeType: mimeType);