Disposable class abstract

Represents an object able to release it's resources.

Implementers

Constructors

Disposable(DisposeFunc disposeFunc)
Creates a Disposable from a callback.
factory
Disposable.compose(Iterable<DisposeFunc> disposeFuncs)
Composes many DisposeFunc into one.
factory
Disposable.fromDisposables(Iterable<Disposable> disposables)
Composes many Disposable instances to be disposed together.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this Disposable has already released its resources.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases this Disposable resources.
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