Query class Null safety

Inheritance

Constructors

Query(HopDocClient client, dynamic index, Map<String, dynamic> _compoundQuery, String _field, {String? isEqualTo, int? isGreaterThan, int? isGreaterThanOrEqualTo, int? isLessThan, int? isLessThanOrEqualTo, String? contains, GeoDistanceQuery? isWithinRadius, GeoBoxQuery? isWithinBox, int? at, Document? after, int? limit, String? orderBy, bool addId = false, bool nanoDate = false})

Properties

addId bool
read / write
client HopDocClient
read / writeinherited
compoundBody Map<String, dynamic>
read-onlyoverride
containsBody List
read-only
equalToBody Map<String, dynamic>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
index String
read / writeinherited
nanoDate bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

comparisonBody(String comparison) Map<String, dynamic>
docInQuery(Map<String, dynamic> doc) bool
inherited
geoBoxBody(GeoBoxQuery query) Map<String, dynamic>
geoDistanceBody(GeoDistanceQuery query) Map<String, dynamic>
get({int? size, bool onlyIds = false}) Future<IndexSnapshot>
inherited
getWidget({required Widget onData(List<Document>), required Widget onError(String), required Widget onLoading()}) Widget
inherited
limit(int number) Query
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
orderBy({required String field, String order = "asc", bool addId = true}) Query
inherited
start({int? at, Document? after, bool nanoDate = false}) Query
inherited
toString() String
A string representation of this object.
inherited
where(String field, {String? isEqualTo, int? isGreaterThan, int? isGreaterThanOrEqualTo, int? isLessThan, int? isLessThanOrEqualTo, String? contains}) Query
inherited
withinBox({required GeoPoint topLeft, required GeoPoint bottomRight, required String field}) Query
inherited
withinRadius({required GeoPoint center, required String radius, required String field}) Query
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited