Parameters class abstract final Query

Query parameters used for setting values to the query parameters defined in the query.

Constructors

Parameters([Map<String, Object?>? parameters])
Creates new Parameters, optionally initialized with parameters from a plain map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setArray(Array? value, {required String name}) → void
Set an Array to the query parameter referenced by the given name.
setBlob(Blob? value, {required String name}) → void
Set a Blob to the query parameter referenced by the given name.
setBoolean(bool? value, {required String name}) → void
Set a bool to the query parameter referenced by the given name.
setDate(DateTime? value, {required String name}) → void
Set a DateTime to the query parameter referenced by the given name.
setDictionary(Dictionary? value, {required String name}) → void
Set a Dictionary to the query parameter referenced by the given name.
setFloat(double? value, {required String name}) → void
Set a floating point number to the query parameter referenced by the given name.
setInteger(int? value, {required String name}) → void
Set an integer number to the query parameter referenced by the given name.
setNumber(num? value, {required String name}) → void
Set a num to the query parameter referenced by the given name.
setString(String? value, {required String name}) → void
Set a String to the query parameter referenced by the given name.
setValue(Object? value, {required String name}) → void
Set a value to the query parameter referenced by the given name.
toString() String
A string representation of this object.
inherited
value(String name) Object?
Gets the value of the parameter referenced by the given name.

Operators

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