getData abstract method

Future<List<T>> getData(
  1. Query<Object?> query(
    1. Query<Object?> query
    )?
)

Retrieves a list of data items based on the given query.

\param query A function that modifies the query used to retrieve the data items. \returns A Future that completes with a list of data items of type T.

Implementation

Future<List<T>> getData(Query Function(Query query)? query);