equalTo method
Returns a Query which includes children which match the specified value
.
The value
must be a num, String, bool, or null
, or the error
is thrown.
The optional key
can be used to further limit the range of the query.
Implementation
Query equalTo(value, [String? key]) => Query.fromJsObject(key == null
? jsObject.equalTo(jsify(value))
: jsObject.equalTo(jsify(value), key));