TranslationConfig class

Configuration for a traslation catalog. Defined as a yaml file

Constructors

TranslationConfig({String projectName = 'intl_messages', String outputDir = 'lib/intl/', String defaultLocale = 'en', String format = 'arb', List<String> sourceFiles = const [], List<String> translationFiles = const []})
const
TranslationConfig.fromYaml(String content, String fileName)
factory

Properties

defaultLocale String
final
format String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
outputDir String
final
projectName String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceFiles List<String>
final
translationFiles List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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