Level2 class

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.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The entity ID.
final, inherited
name String
The entity name.
final, inherited
parent Level1
The entity parent.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type Type
The entity type.
final, inherited
typeAsString String
Returns type as Vietnamese string.
read-only, inherited

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