JsonMessageGeneration class
Properties
-
allLocales
↔ Set<String>
-
A list of all the locales for which we have translations. Code that does
the reading of translations should add to this.
getter/setter pairinherited
-
closing
→ dynamic
-
Constant string used in generateMainImportFile as the end of the file.
no setteroverride
-
codegenMode
↔ String
-
The mode to generate in - either 'release' or 'debug'.
getter/setter pairinherited
-
We import the main file so as to get the shared code to evaluate
the JSON data.
no setteroverride
-
generatedFilePrefix
↔ String
-
If we have more than one set of messages to generate in a particular
directory we may want to prefix some to distinguish them.
getter/setter pairinherited
-
generatedImportPath
↔ String
-
If the path to the generated files is something other than the current
directory, update the generatedImportPath variable to change the import
directives in the generated code.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
intlImportPath
↔ String
-
If the import path following package: is something else, modify the
intlImportPath variable to change the import directives in the generated
code.
getter/setter pairinherited
-
jsonMode
→ bool
-
no setterinherited
-
mainPrologue
→ dynamic
-
Constant string used in generateMainImportFile for the beginning of the
file.
no setterinherited
-
messagesDeclaration
→ String
-
no setterinherited
-
output
↔ StringBuffer
-
Holds the generated translations.
getter/setter pairinherited
-
overrideLookup
↔ String
-
getter/setter pairinherited
-
package
↔ String
-
What is the path to the package for which we are generating.
getter/setter pairinherited
-
releaseMode
→ bool
-
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
useDeferredLoading
↔ bool
-
Should we use deferred loading for the generated libraries.
getter/setter pairinherited