read abstract method

Future<D?> read(
  1. String path
)

Reads data from the specified path.

The path parameter identifies the location of the data to read.

Returns a Future that completes with the data of type D if available, or null if no data exists at the specified path. If the read operation fails, the future will complete with an error.

Implementation

Future<D?> read(String path);