Singleton constructor

const Singleton({
  1. String? name,
  2. List<Type>? asType,
  3. bool async = false,
})

Implementation

const Singleton({this.name, this.asType, this.async = false});