PluralRules class final
See the Rust documentation for PluralRules
for more information.
- Implemented types
Constructors
- PluralRules.cardinal(DataProvider provider, Locale locale)
-
Construct an
`PluralRules`
for the given locale, for cardinal numbersfactory - PluralRules.ordinal(DataProvider provider, Locale locale)
-
Construct an
`PluralRules`
for the given locale, for ordinal numbersfactory
Properties
- categories → PluralCategories
-
Get all of the categories needed in the current locale
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
categoryFor(
PluralOperands op) → PluralCategory - Get the category for a given number represented as operands
-
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