LooseDocument class
The annotation to convert a Dart class into a Firebase document.
name
: rename the Firestore document to correspond with a database table name.
useCase: automatically convert the table name and field names to another case, unless
the field is annotated explicitly with a 'name' parameter.
readOnly
: Throws a LooseException if tried to write to the database.
Constructors
- LooseDocument({Case useCase = Case.none, NullMode readMode = NullMode.useDefaultValues, NullMode saveMode = NullMode.useDefaultValues, bool suppressWarnings = false})
-
const
Properties
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