writeFile method

Future<String> writeFile({
  1. required String fileName,
  2. required Uint8List bytes,
})

Write bytes inside fileName and return the path to the file.

  • fileName: The name of the file (e.g: my_file.json).
  • bytes: The data to write inside the file.

Implementation

Future<String> writeFile({
  required String fileName,
  required Uint8List bytes,
}) {
  throw UnimplementedError('writeFile() has not been implemented.');
}