findOrNull<S> static method

S? findOrNull<S>({
  1. String? tag,
})

Finds a registered instance of type S in the active scope, or null.

Implementation

static S? findOrNull<S>({String? tag}) {
  return currentScope.findOrNull<S>(tag: tag);
}