Failure constructor

const Failure({
  1. required String detail,
  2. required FailureReason reason,
  3. required bool retryable,
})

Implementation

const Failure({
  required this.detail,
  required this.reason,
  required this.retryable,
});