SqlEntityDefinition class
Use this annotation to mark some model as needed to be stored in Sqlite storage; For model annotated by SqlEntityDefinition Sqlite Engine will create the table named as tableName; More over, use can specify some additional fields using the fields property, if you want to save not only model fields (see more details in SqlField)
Constructors
-
SqlEntityDefinition({required String tableName, Iterable<
SqlField> fields = const []}) -
const
Properties
-
fields
→ Iterable<
SqlField> -
Use can specify some additional fields using the fields property, if you want to save not
only model fields (see more details in SqlField)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tableName → String
-
Table name used to store concrete model
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