DatabaseColumnReal class
Declaring column who contain double directly from dart value, must to be const
- Inheritance
-
- Object
- DatabaseColumn<
double, double> - DatabaseColumnRealBase<
double> - DatabaseColumnReal
- Annotations
-
- @immutable
Constructors
- DatabaseColumnReal(String name, {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) → double -
Read
raw
database value fromreader
inherited -
binWrite(
double value, BinaryWriter writer) → void -
Wrtie
raw
database value towriter
inherited -
dartDecode(
double value) → double -
Converting
T
dart
object toraw
database valueoverride -
dartEncode(
double value) → double -
Converting
raw
database value toT
dart
objectoverride -
databaseLoadMutator(
double? value) → double -
Mutate
db
value after select toraw
valueinherited -
databaseSaveMutator(
double value) → double? -
Mutate
raw
value todb
before insert it to databaseinherited -
jsonDecode(
Object? value) → double -
Converting
json
toraw
database valueinherited -
jsonEncode(
double value) → Object? -
Converting
raw
database value tojson
inherited -
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