Failure constructor

Failure({
  1. required ErrorType errorType,
  2. required String message,
})

Implementation

Failure({required this.errorType, required this.message});