ArbParser class

Reads ARB JSON into ArbFile. All string values are NFC-normalized on read so two visually-identical strings (one composed, one decomposed) hash and compare identically.

Vietnamese on macOS is the canonical example: native input often produces NFD; without normalization, dialect check would fire false stale-key warnings.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

parse(String content, {String? sourcePath}) ArbFile
Parse ARB content from a UTF-8 string. sourcePath is recorded on the returned ArbFile so the check-report formatter can produce file:line hints.