fetchAll<T> method

Future<List<T>> fetchAll<T>([
  1. T factory(
    1. Map<String, dynamic>
    )?
])

Implementation

Future<List<T>> fetchAll<T>(
    [T Function(Map<String, dynamic>)? factory]) async {
  if (_fetchAllFunc == null) {
    throw Exception('QueryBuilder@fetchAll _fetchAllFunc not defined');
  }
  //throw UnsupportedOperationException('`fetchAll` not implemented');
  return _fetchAllFunc!(factory);
}