Localizations class Null safety

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>
read-only, inherited
categories List<Category>
All categories declared in all label cases conditions.
read-only, inherited
children List<Section>
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hasTemplatedValues bool
read-only, inherited
key String
final, inherited
labels List<Label>
final, inherited
name String
final
normalizedKey String
read-only, inherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
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 non-existent 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