TinkStateEvent<S> class
Constructors
- TinkStateEvent(String name, S value, TinkStateEventType type, bool asProvider, {Ulid? id, Actor? actor})
-
factory
- TinkStateEvent.error(S value, TinkStateEventType type, {Ulid? id, Actor? actor})
-
factory
Properties
- actor ↔ Actor
-
getter/setter pair
- alive ↔ BoolCallback?
-
If set and returns false when asProvider is true then it causes this to be unregistered as a provider for its value
getter/setter pair
- asProvider ↔ bool
-
If true, this event will be kept and when asked if a more recent value isn't available, it will be used as the current value
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ Ulid
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ TinkStateEventType
-
getter/setter pair
- value ↔ S
-
getter/setter pair
Methods
-
asRedo(
) → TinkStateEvent< S> -
asUndo(
) → TinkStateEvent< S> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited