AsyncSingleton<T> constructor

const AsyncSingleton<T>({
  1. Future<T> factory()?,
  2. Iterable<Type>? dependencies,
})

Implementation

const AsyncSingleton({this.factory, this.dependencies});