columnType property

Column? columnType

In very exceptional circumstance, the SQLite column type can be declared.

Leaving this field null will allow Brick to infer the column type from the Type argument. This will not create foreign keys or associations.

Because this value overrides Brick assumptions about the column type, the field will be inserted (toSqlite) as is and returned as is from deserialization (fromSqlite). Brick's conversions to and from Iterables or Futures will not apply. If additional manipulation is (likely) required, specify fromGenerator and toGenerator.

Advanced use only.


final Column? columnType;