OperationOnTypes extension

on

Properties

nullableInDart bool
Whether this type is nullable in Dart
no setter
sqlTypeName String
The class inside the moor library that represents the same sql type as this column.
no setter
variableTypeName String
the Dart type of this column that can be handled by moors type mapping. Basically the same as dartTypeCode, minus custom types and nullability.
no setter

Methods

dartTypeCode([GenerationOptions options = const GenerationOptions()]) String
The dart type that matches the values of this column. For instance, if a table has declared an IntColumn, the matching dart type name would be int.
variableTypeCode([GenerationOptions options = const GenerationOptions()]) String
The moor Dart type that matches the type of this column.
variableTypeCodeWithoutArray([GenerationOptions options = const GenerationOptions()]) String