write method
By passing the full path of the storage fileFullPath
and the actual data bytes
, the file can be saved in that path.
ストレージのフルパスであるfileFullPath
と実データbytes
を渡すことでそのパスにファイルを保存することができます。
Implementation
@override
Future<void> write(String fileFullPath, Uint8List bytes) async {
await File(fileFullPath).writeAsBytes(bytes);
}