databaseType property Null safety

ManagedPropertyType? databaseType
final

The type of the field in the database.

By default, the database column type is inferred from the Dart type of the property, e.g. a Dart String is a PostgreSQL text type. This allows you to override the default type mapping for the annotated property.

Implementation

final ManagedPropertyType? databaseType;