Disposable class abstract
Base disposable implementation with isDisposed check before performDispose call
- Inheritance
-
- Object
- IDisposable
- Disposable
- Mixed in types
- Implementers
- Available Extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed ↔ bool
-
is dispose was already called
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future -
free resources. Do nothing if isDisposed already true
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performDispose(
) → Future -
actually dispose resources called in dispose() after isDisposed check
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited