TinkEntity mixin

Any object that needs to be persisted and reloaded into the editor later

Mixin Applications

Properties

canPersist bool
getter/setter pair
entityGroupId String
groupId = Widget | Screen | Component
no setter
entitySubType String
subtype = ScreenHandler
no setter
entityType String
type = Handler
no setter
fields List<TinkEntityField>
no setter
fieldsByName Map<String, TinkEntityField>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hypi HypiMeta
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialisableIsAlive BoolCallback?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpdate(EntityEventSource src) → void
When invoked, the entity should use the event source to obtain the most recent value for each of its fields, internally performing an update where necessary Implementations can override this if for example they only want to update selected fields they can use EntityEventSource.valueOf
postDeserialisation() → void
save(CASMLike casm) → dynamic
subscribeToUpdates(CASMLike casm) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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