ProviderDisposeEvent class
A provider has been disposed. This does not happen automatically but only when ref.dispose(provider) is called.
- Inheritance
-
- Object
- RefenaEvent
- ProviderDisposeEvent
Constructors
-
ProviderDisposeEvent({required LabeledReference debugOrigin, required BaseProvider<
BaseNotifier, dynamic> provider})
Properties
- debugLabel → String
-
A label to be used in debug messages and
by the RefenaTracingPage.
no setterinherited
- debugOrigin → LabeledReference
-
The reference to the origin.
This may be the notifier, the action, the rebuildable, or another
ProviderDisposeEvent.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
The id.
finalinherited
- millisSinceEpoch → int
-
The timestamp when the event was fired.
We use int to save memory.
finalinherited
-
provider
→ BaseProvider<
BaseNotifier, dynamic> -
The provider that has been disposed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareIdentity(
IdReference other) → bool -
Returns true, if the other reference has the same id.
inherited
-
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.
override