hasConstraints property

bool get hasConstraints

Check if the column has any constraints

Returns true if the column has constraints, false otherwise.

Implementation

bool get hasConstraints => _constraints.isNotEmpty;