Section class

A section is a set of labels, grouped together to to make them easier to find.

Implementers

Constructors

Section({required String key, required List<Label> labels, required List<Section> children})
const
Section.merge(Section value, Section other)
Merges value and other into a new Section with combined labels and merged children.
factory

Properties

allLabels List<Label>
no setter
categories List<Category>
All categories declared in all label cases conditions.
no setter
children List<Section>
final
hashCode int
The hash code for this object.
no setterinherited
hasTemplatedValues bool
no setter
key String
final
labels List<Label>
final
normalizedKey String
no setter
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
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

Methods

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.

Operators

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