DisposableCollection<D extends Disposable> constructor
DisposableCollection<D extends Disposable> ({
- bool? autoClear,
Creates a new DisposableCollection.
Implementation
factory DisposableCollection({bool? autoClear}) {
return DisposableCollection.from([], autoClear: autoClear);
}