ARBContentTranslated class
ARB file content model with translations items - list of key/value pairs contained by this file each item may contain annotation, plurals and selects attributes - list of global and custom attributes in the file lineBreaks - list of line breaks in the file used to rebuild file with similar layout
Constructors
-
ARBContentTranslated.new(List<
ARBItemTranslated> items, {List<ARBAttribute> attributes = const [], List<int> lineBreaks = const []}) -
const
Properties
-
attributes
→ List<
ARBAttribute> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
ARBItemTranslated> -
final
-
lineBreaks
→ List<
int> -
final
- locale → String?
-
Value of the locale attribute if defined
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findAttributeByKey(
ARBAttributeKey key) → ARBAttribute? - Finds ARB attribute by given key
-
findItemByKey(
String key) → ARBItemTranslated? - Finds ARB item by given key
-
findItemByNumber(
int number) → ARBItemTranslated? - Finds ARB item by numeric position in file
-
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