Level2 class Null safety

A level 2 entity.

Inheritance

Constructors

Level2(int _level1Index, String id, String name, Type type, List<Level3> children)
Creates a level 2 entity.
const

Properties

children List<Level3>
Sub-entities.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
id String
The entity ID.
finalinherited
name String
The entity name.
finalinherited
parent Level1
The entity parent.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type Type
The entity type.
finalinherited
typeAsString String
Returns type as Vietnamese string.
read-onlyinherited

Methods

findLevel3ById(String id) Level3?
Finds sub-entity by ID.
findLevel3ByName(String name) Level3?
Finds sub-entity by name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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