ExceptionWrapper<T extends Exception> constructor

ExceptionWrapper<T extends Exception>({
  1. required Component child,
  2. required ExceptionEndpoint<T> exceptionEndpoint,
  3. Key? key,
})

Implementation

factory ExceptionWrapper(
    {required Component child,
    required ExceptionEndpoint<T> exceptionEndpoint,
    Key? key}) {
  return ExceptionWrapper.fromMap(child: child, map: {T: exceptionEndpoint});
}