DatabaseColumnBlobBase<T> class abstract

Declaring column who contain blob value, must to be const

Inheritance
Implementers
Annotations
  • @immutable

Constructors

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

Properties

columnDefinition String
Column definition for sqlite3
no setterinherited
constraints String
Constraints of that column
finalinherited
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) Uint8List
Read raw database value from reader
override
binWrite(Uint8List value, BinaryWriter writer) → void
Wrtie raw database value to writer
override
dartDecode(T value) Uint8List
Converting T dart object to raw database value
inherited
dartEncode(Uint8List value) → T
Converting raw database value to T dart object
inherited
databaseLoadMutator(Uint8List? value) Uint8List
Mutate db value after select to raw value
override
databaseSaveMutator(Uint8List value) Uint8List?
Mutate raw value to db before insert it to database
inherited
jsonDecode(Object? value) Uint8List
Converting json to raw database value
override
jsonEncode(Uint8List 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