ARBContent class

ARB file content model locale - optional in ARB file items - list of key/value pairs contained by this file each item may contain annotation, plurals and selects lineBreaks - list of line breaks in the file used to rebuild file with similar layout

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<ARBItem>
final
lineBreaks List<int>
final
locale LanguageCode?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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() String
A string representation of this object.
inherited

Operators

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