Entity<ParentType, ChildType> class abstract

An entity.

Implementers

Constructors

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

Properties

children List<ChildType>
Sub-entities.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The entity ID.
final
name String
The entity name.
final
parent → ParentType?
The entity parent.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The entity type.
final
typeAsString String
Returns type as Vietnamese string.
no setter

Methods

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

Operators

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