write method

  1. @override
Future<void> write(
  1. String fileFullPath,
  2. Uint8List bytes
)
override

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);
}