I18nOMaticIO class
Manages IO operations for storage of translations tables.
Constructors
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
-
buildFilename(
String langCode, [String? ctryCode]) → String -
Builds the translations YAML file name
for the given language code named
langCode
and country code namedctryCode
-
getTranslatedStringsFromYamlContent(
String content) → Map< String, String?> ? -
Returns a Map of translated strings from a YAML formatted
content
. -
loadFromFile(
String filePath) → I18nOMaticData -
Loads a YAML file from the given
filePath
and returns an I18nOMaticData -
writeToFile(
String filePath, I18nOMaticData data) → void -
Writes a YAML file to the given
filePath
containing the I18nOMaticDatadata