getData abstract method

Future<List<Map<String, dynamic>>> getData({
  1. required String path,
  2. Query<Object?> queryBuilder(
    1. Query<Object?> query
    )?,
})

Retrieves a list of sub-profile data.

\param path The path where the sub-profile data is stored. \param queryBuilder An optional function to build a query for filtering the data. \returns A Future that completes with a list of maps containing the sub-profile data.

Implementation

Future<List<Map<String, dynamic>>> getData({required String path, Query Function(Query query)? queryBuilder});