DaoField class
Annotation for dao fields.
Valid types are String, int, double, bool, Uint8List and DateTime.
If name is not set, the name of the class is used.
The length parameter defines the size of the String, int or double field. If used on a string field, the length is interpreted as amount of characters. If used on an int or double field, the length is interpreted as amount of bits used to represent the value.
Be aware that different DatabaseAdapter implementations can accept different types lengths and may throw if an invalid size is used.
If length is not set, the default of the given type is used: String: 255 int: 32 (bit) double: 64 (bit)
- Implementers
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