LocalizeIt class

Runtime hooks for localize_it.

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 Properties

translate ↔ String Function(String key)
Resolves a base-language key to its translation in the current locale.
getter/setter pair

Static Methods

contextKey(String text, String context) → String
The key localize_it generates for text marked with .trIn(context).

Constants

contextSeparator → const String
Joins a string and its context into one key, see LocalizeItContext.trIn.