Table.unique constructor Null safety

const Table.unique(
  1. List<Symbol> properties
)

Configures each instance of a table definition to be unique for the combination of properties.

Adding this metadata to a table definition requires that all instances of this type must be unique for the combined properties in properties. properties must contain symbolic names of properties declared in the table definition, and those properties must be either attributes or belongs-to relationship properties. See Table for example.

Implementation

const Table.unique(List<Symbol> properties)
    : this(uniquePropertySet: properties);