idField property

Returns the SerializableModelFieldDefinition of the 'id' field. If the field is not present, an error is thrown.

Implementation

SerializableModelFieldDefinition get idField =>
    findField(defaultPrimaryKeyName)!;