OperationOnTypes extension Null safety

on

Properties

nullableInDart bool
Whether this type is nullable in Dart
read-only
sqlTypeName String
The class inside the moor library that represents the same sql type as this column.
read-only
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.
read-only

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