LooseField class
The annotation to enhance a Dart class property into a Firebase document field.
LooseField is not required and only necessary if additional annotations are required on the field. Otherwise, Dart class properties of a LooseField are automatically converted to fields.
name: sets an explict name on a field to correspond with a database field name. readOnly: will read this field from the database but not write it to the database. Useful for things like id's or timestamps. ignore: will ignore this field completely; it will not be in the table fields.
Constructors
Properties
- canQuery → bool
-
final
- defaultValue → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignore → bool
-
final
- ignoreIfNested → bool
-
final
- ignoreInLists → bool
-
final
- name → String
-
final
- privateFieldGetter → String
-
final
- readMode → NullMode?
-
final
- readOnly → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveMode → NullMode?
-
final
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