databaseType property Null safety

ManagedPropertyType? databaseType

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.


final ManagedPropertyType? databaseType;