ErrorResponse constructor

const ErrorResponse({
  1. ResponseStatus status = ResponseStatus.internalServerError,
  2. required String message,
  3. Map<String, String>? errors,
})

Implementation

const ErrorResponse({super.status = ResponseStatus.internalServerError, required super.message, this.errors})
  : super(success: false);