write abstract method

Future<String?> write(
  1. String path,
  2. D data
)

Writes data to the specified path.

The path parameter identifies the location where data should be written. The data parameter contains the data to be written.

Returns a Future that completes when the write operation is finished. If the write operation fails, the future will complete with an error.

Implementation

Future<String?> write(String path, D data);