type property
Logical entity name, singular.
Defaults to the lowercase string representation of type TModel. Override in subclasses for custom entity names.
Example: if TModel is UserEvent
, returns userevent
.
Example: if TModel is TodoItem
, returns todoitem
.
Implementation
String get type => PluralizationUtils.toSnakeCase(TModel.toString());