registerDisposer method

  1. @override
void registerDisposer(
  1. Disposer callback
)
inherited

Implementation

@override
void registerDisposer(Disposer callback) {
  _disposers ??= <Disposer>[];
  _disposers!.add(callback);
}