constraints property

List<ColumnConstraint> constraints
latefinal

Constraints that have been applied to this column.

This reflects the actual syntactic column constraints to apply to the definition for this column in SQL. For instance, a single-column primary key defined by overriding the Table.primaryKey getter will not add a ColumnPrimaryKeyConstraint to this column.

Implementation

late final List<ColumnConstraint> constraints = _generateConstraints();