Localizations class

Inheritance

Constructors

Localizations({required String name, required List<String> supportedLanguageCodes, required List<Label> labels, required List<Section> children})
Localizations.fromSection({required List<String> supportedLanguageCodes, required String name, required Section section})
factory
Localizations.merge(String name, List<Localizations> values)
factory

Properties

allLabels List<Label>
no setterinherited
categories List<Category>
All categories declared in all label cases conditions.
no setterinherited
children List<Section>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasTemplatedValues bool
no setterinherited
key String
finalinherited
labels List<Label>
finalinherited
name String
final
normalizedKey String
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
supportedLanguageCodes List<String>
final

Methods

copyWith({List<String>? supportedLanguageCodes, List<Label>? labels, List<Section>? children, String? name}) Localizations
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withTranslations(String path, String? condition, List<Translation> translations) Section
A new section with the translation inserted at path.
inherited

Operators

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