Query.allowAll constructor

Query.allowAll({
  1. required QueryType queryType,
  2. AccessToken? token,
  3. Map<String, dynamic> filters = const <String, dynamic>{},
  4. Map<String, dynamic> equals = const <String, dynamic>{},
  5. Map<String, dynamic> sorts = const <String, dynamic>{},
  6. Map<String, dynamic> update = const <String, dynamic>{},
  7. Map<String, bool> fileds = const <String, bool>{},
  8. int? limit = 1000,
  9. int? offset = 0,
})

AllowAll Query

Implementation

Query.allowAll(
    {required this.queryType,
    this.token,
    this.filters = const <String, dynamic>{},
    this.equals = const <String, dynamic>{},
    this.sorts = const <String, dynamic>{},
    this.update = const <String, dynamic>{},
    this.fileds = const <String, bool>{},
    this.limit = 1000,
    this.offset = 0})
    : allowAll = true,
      operationType = operationTypeFromQueryType(queryType);