ARBItemTranslated class
Translated ARB item model Most of it's fields are same as ARBItem fields but value is translated value of ARBItem
Constructors
-
ARBItemTranslated.new({required int number, required String key, required String value, required String? originalValue, required ARBItemModificationType modificationType, required ARBItemAnnotation? annotation, List<
ARBItemSpecialData> plurals = const [], List<ARBItemSpecialData> selects = const []}) -
const
-
ARBItemTranslated.added({required ARBItemKey key, required int number, required String value, required ARBItemAnnotation? annotation, required List<
ARBItemSpecialData> plurals, required List<ARBItemSpecialData> selects}) -
factory
-
ARBItemTranslated.edited({required ARBItemKey key, required int number, required String value, required String originalValue, required ARBItemAnnotation? annotation, required List<
ARBItemSpecialData> plurals, required List<ARBItemSpecialData> selects}) -
factory
-
ARBItemTranslated.unmodified(ARBItem item, {required int number, ARBItemAnnotation? annotation1, List<
ARBItemSpecialData> plurals1 = const [], List<ARBItemSpecialData> selects1 = const []}) -
factory
Properties
- annotation → ARBItemAnnotation?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPlaceholders → bool
-
no setter
- hasPlurals → bool
-
no setter
- hasSelects → bool
-
no setter
- key → String
-
final
- modificationType → ARBItemModificationType
-
final
- number → int
-
final
- originalValue → String?
-
final
-
plurals
→ List<
ARBItemSpecialData> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selects
→ List<
ARBItemSpecialData> -
final
- value → String
-
final
Methods
-
findPlaceholderByKey(
String key) → ARBItemAnnotationPlaceholder? -
findPluralByKey(
String key) → ARBItemSpecialData? -
findSelectByKey(
String key) → ARBItemSpecialData? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArbItem(
) → ARBItem -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited