write method

Future<void> write(
  1. String path,
  2. Uint8List bytes, [
  3. WriteOptions options = const WriteOptions()
])

Validate path, apply the prefix, write bytes at the scoped key.

Implementation

Future<void> write(
  String path,
  Uint8List bytes, [
  WriteOptions options = const WriteOptions(),
]) {
  validateKey(path);
  return _backend.write(key(path), bytes, options);
}