writeString abstract method

Future<void> writeString(
  1. String path,
  2. String content
)

Returns a Future that completes when content is 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> writeString(String path, String content);