DisposableMixin mixin
Mixin with isDisposed check before performDispose call
- Superclass Constraints
- Mixin Applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed ↔ bool
-
is dispose was already called
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
free resources. Do nothing if isDisposed already true
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performDispose(
) → Future< void> - actually dispose resources called in dispose() after isDisposed check
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited