DatabaseColumnTextBase<T> class abstract

Declaring column who contain text value, must to be const

Inheritance
Implementers
Annotations
  • @immutable

Constructors

DatabaseColumnTextBase(String name, {String constraints = 'NOT NULL', bool unique = false, bool indexed = false, bool fts = false})
const

Properties

columnDefinition String
Column definition for sqlite3
no setterinherited
constraints String
Constraints of that column
finalinherited
fts bool
Needs to create Fts table for this column
final
hashCode int
The hash code for this object.
no setterinherited
indexed bool
Needs to create index for this column
finalinherited
name String
Column name
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Declared type of column
finalinherited
unique bool
Unique values in column
finalinherited

Methods

binRead(BinaryReader reader) String
Read raw database value from reader
override
binWrite(String value, BinaryWriter writer) → void
Wrtie raw database value to writer
override
dartDecode(T value) String
Converting T dart object to raw database value
inherited
dartEncode(String value) → T
Converting raw database value to T dart object
inherited
databaseLoadMutator(String? value) String
Mutate db value after select to raw value
override
databaseSaveMutator(String value) String?
Mutate raw value to db before insert it to database
override
jsonDecode(Object? value) String
Converting json to raw database value
override
jsonEncode(String value) Object?
Converting raw database value to json
override
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