tryResolve<T> method

T? tryResolve<T>([
  1. String? name
])

Implementation

T? tryResolve<T>([String? name]) => _container.tryInstance<T>(name: name, autoRegister: true)?.value as T?;