ARBContent class

ARB file content model 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

ARBContent(List<ARBItem> items, {List<ARBAttribute> attributes = const [], List<int> lineBreaks = const []})
const
ARBContent.empty()
factory

Properties

attributes → List<ARBAttribute>
final
hashCode → int
The hash code for this object.
no setterinherited
items → List<ARBItem>
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(ARBItemKey key) → ARBItem?
Finds ARB item by given key
findItemByNumber(int number) → ARBItem?
Finds ARB item by numeric position in the file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → ARBAttributeKey
A string representation of this object.
inherited

Operators

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