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