writeBytes abstract method
Returns a Future that completes when bytes are written to a file at path.
On VM, this writes to the local file system. On Web, this stores the data in IndexedDB.
Implementation
Future<void> writeBytes(String path, Uint8List bytes);