Singleton constructor

const Singleton({
  1. Type? classType,
  2. Type? asType,
  3. Function? resolveUsing,
  4. Set<String>? environments,
  5. String? instanceName,
})

Implementation

const Singleton({
  Type? classType,
  Type? asType,
  Function? resolveUsing,
  Set<String>? environments,
  String? instanceName,
}) : super(
        instanceName: instanceName,
        classType: classType,
        asType: asType,
        resolveUsing: resolveUsing,
        environments: environments,
      );