SimpleTranslation class
- Inheritance
-
- Object
- Translation
- SimpleTranslation
Constructors
-
SimpleTranslation.new({required String original, required List<
TranslationElement> elements}) -
SimpleTranslation.fromJson({required Map<
String, dynamic> json}) -
factory
Properties
-
elements
→ List<
TranslationElement> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- original → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TranslationType
-
finalinherited
Methods
-
getTranslation(
Map< String, Object> args) → String? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited