findOrNullAsync<S> static method

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

Asynchronously retrieves the registered instance of type S, or returns null.

  • tag: The unique identifier used during registration.

Implementation

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