ServiceContainerException.duplicateRegistration constructor
Implementation
ServiceContainerException.duplicateRegistration({required this.type, this.name}) : message = "Duplicate registration of type($type) ${name != null ? ' with name($name)' : ''}";