EntityPlurals class

The EntityPlurals class provides a utility method to get the plural form of an entity name. This can be useful when working with collections of entities, for example when naming database tables or generating URLs.

Constructors

EntityPlurals()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getPluralForEntityName(String entity) String
Returns the plural form of the given entity name.