ProviderException.duplicateRegistration constructor

ProviderException.duplicateRegistration({
  1. required Type type,
  2. StackTrace? trace,
})

Implementation

ProviderException.duplicateRegistration({required this.type, this.trace}) : message = "Duplicate provider registration of $type";