PotEventKind enum

The types of events that can occur in relation to Pot.

Inheritance

Constructors

PotEventKind({bool isScopeEvent = false})
const

Values

unknown → const PotEventKind

A value that represents an unknown event.

instantiated → const PotEventKind

A value that represents an event when a Pot was instantiated.

created → const PotEventKind

A value that represents an event when an object was created in a Pot.

replaced → const PotEventKind

A value that represents an event when the factory of a Pot was replaced.

reset → const PotEventKind

A value that represents an event when a Pot was reset.

disposerCalled → const PotEventKind

A value that represents an event when the disposer of a Pot was called.

markedAsPending → const PotEventKind

A value that represents an event when a Pot was marked as pending.

disposed → const PotEventKind

A value that represents an event when a Pot was disposed.

scopePushed → const PotEventKind

A value that represents an event when a new scope was created.

scopeCleared → const PotEventKind

A value that represents an event when all Pots in a scope were reset.

scopePopped → const PotEventKind

A value that represents an event when all Pots in a scope were reset and the scope was removed.

addedToScope → const PotEventKind

A value that represents an event when a Pot was associated with the current scope.

removedFromScope → const PotEventKind

A value that represents an event when a Pot was unassociated from a scope.

objectUpdated → const PotEventKind

A value that represents an event when the object held in a Pot was updated.

potteryCreated → const PotEventKind

A value that represents an event when a Pottery of package:pottery was inserted into the tree.

potteryRemoved → const PotEventKind

A value that represents an event when a Pottery of package:pottery was removed from the tree.

localPotteryCreated → const PotEventKind

A value that represents an event when a LocalPottery of package:pottery was inserted into the tree.

localPotteryRemoved → const PotEventKind

A value that represents an event when a LocalPottery of package:pottery was removed from the tree.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isScopeEvent bool
Whether the event is related to scoping.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<PotEventKind>
A constant List of the values in this enum, in order of their declaration.