JsonIntlValue class

Represents a translated string with all variations

Annotations

Constructors

JsonIntlValue(Map<JsonIntlGender, Map<JsonIntlPlural, String>> _messages)
Create a translated string from a map
const
JsonIntlValue.fromJson(dynamic message)
Create a translated string from a json object
factory

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

get(JsonIntlGender? gender, JsonIntlPlural plural, JsonIntlPlural? direct) String?
Get the right translated string variant depending on a gender and a count
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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