getAsync<T extends Object> static method

Future<T> getAsync<T extends Object>({
  1. String? dependencyName,
})

Use to get dependency registered by async

Implementation

static Future<T> getAsync<T extends Object>({String? dependencyName}) {
  return _instance._injector.getAsync<T>(dependencyName: dependencyName);
}