primaryKeyFields property

List<String> get primaryKeyFields

Field names that make up the model primary key.

Implementation

List<String> get primaryKeyFields => attributeFieldNames('id');