Future<List<Map<String, dynamic>>> getAsMap() async { if (_getAsMapFunc == null) { throw Exception('QueryBuilder@getAsMap getAsMapFunc not defined'); } return _getAsMapFunc!(); }