Level1 class

A level 1 entity.

Inheritance

Constructors

Level1(String id, String name, Type type, List<Level2> children)
Creates a level 1 entity.
const

Properties

children List<Level2>
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 → void
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

findLevel2ById(String id) Level2
Finds sub-entity by ID.
findLevel2ByName(String name) Level2
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