isPrimaryKey property

bool isPrimaryKey
final

When true, indicates that this property is the primary key.

Only one property of a class may have primaryKey equal to true.

Implementation

final bool isPrimaryKey;