disposeImpl method
Implementation
void disposeImpl({
required Location? location,
String? name,
required bool dispose,
}) {
if (location == Location.registry || isRegisteredInheritedModel.value) {
Bilocator.unregister<T>(name: name, dispose: false);
}
if (dispose) {
_lazyInitializer.dispose();
}
}