unique property

bool unique
final

When true, the column will be inserted with a UNIQUE constraint. Unique columns will also be listed in the adapter for querying if implemented by the invoking provider. Defaults to false. Does not apply to associations.

To index this column, index needs to be true. Indices are not automatically created for unique columns.

Implementation

final bool unique;