put method

  1. @override
Future<void> put(
  1. String path,
  2. List<int> bytes
)
override

Saves the given bytes to the given path on the disk.

Implementation

@override
Future<void> put(String path, List<int> bytes) async {
  final file = _file(path);
  await file.create(recursive: true);
  await file.writeAsBytes(bytes);
}