findOrNull<S> static method
Retrieves the registered instance of type S, or returns null if not found.
tag: The unique identifier used during registration.
Implementation
static S? findOrNull<S>({String? tag}) {
return currentScope.findOrNull<S>(tag: tag);
}