PackageSettings class

A model representing package settings

Constructors

PackageSettings({required String inputFilepath, required bool? replaceBase, required List<String>? unicodeBlocks, required List<String>? languagesToGenerate, required bool? useBrackets, required String? textExpansionFormat, required double? textExpansionRatio, required List<String>? patternsToIgnore, required List<String>? keysToIgnore, ARBSettings? arbSettings, CSVSettings? csvSettings})
Constructs a new instance of PackageSettings

Properties

arbSettings ARBSettings
A model of arb settings.
final
csvSettings CSVSettings
A model of csv settings.
final
hashCode int
The hash code for this object.
no setterinherited
inputFilepath String
The filepath for the input localization file. This must be supplied.
final
keysToIgnore List<String>?
A list of keys which should be ignored.
final
languagesToGenerate List<SupportedLanguage>?
A list of languages to generate.
final
patternToIgnore RegExp?
A RegExp to ignore during text replacement.
final
replaceBase bool
Whether to replace the base langauge. Defaults to false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textExpansionFormat → TextExpansionFormat
The format of the text expansion.
final
textExpansionRatio double?
The ratio of text expansion for the pseudo text (compared to base text).
final
unicodeBlocks List<UnicodeBlock>?
When replaceBase is true, a list of unicode blocks to use. Defaults to all.
final
useBrackets bool
Whether the pseudo text should be wrapped in square brackets. Defaults to true.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a String representation of the model.
override

Operators

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