primaryKeyName property

String primaryKeyName
getter/setter pair

The name of the field that identifies data of this model type.

Implementation

String primaryKeyName = 'id';