write method

Future<void> write(
  1. FileHandle handle,
  2. Uint8List bytes
)

Implementation

Future<void> write(FileHandle handle, Uint8List bytes) async {
  await room.sendRequest("storage.write", {"handle": handle.id}, data: bytes);
}