Disposable class abstract

Abstract class for services that must be disposed on un-registration.

Only one method, onDispose(), must be implemented, and it will be called in a centralized queue on service un-registration.

Implementers

Constructors

Disposable()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
onDispose() FutureOr<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited