Entity<ParentType, ChildType> class

An entity.

Implementers

Constructors

Entity(String id, String name, Type type, [List<ChildType> children])
Creates an entity.
const

Properties

children List<ChildType>
Sub-entities.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The entity ID.
final
name String
The entity name.
final
parent → ParentType
The entity parent.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type Type
The entity type.
final
typeAsString String
Returns type as Vietnamese string.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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