CompositeDisposable class
A Disposable container that holds other disposables.
- Inheritance
-
- Object
- StatefulDisposable
- CompositeDisposable
- Implementers
Constructors
-
CompositeDisposable([Iterable<
Disposable> ? disposables])
Properties
-
disposables
→ Set<
Disposable> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Returns true, if this resource has been disposed.
no setterinherited
- isEmpty → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
Disposable disposable) → void -
contains(
Disposable disposable) → bool -
dispose(
) → void -
Disposes the resource.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
Disposable disposable) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited