get<T extends Object> static method

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

Use to get dependency registered

Implementation

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