QueryField class
Links a database index to a Dart field within a model class.
Constructors
-
QueryField({required String? name, required List<
QueryToken> referTo, String joinBy = '_'}) -
Creates a QueryField by its attributes.
const
Properties
- defaultValue → Object?
-
Optional default value for the field.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- joinBy → String
-
String by which the query tokens will be joined by.
final
- name → String?
-
Name of the column in the underlying database.
finalinherited
-
referTo
→ List<
QueryToken> -
Query tokens that the field is combined of.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited