isFailedStatus property

bool get isFailedStatus

Checks if the request failed

Implementation

bool get isFailedStatus {
  final t = type;

  return !(t == SmtpResponseType.accepted || t == SmtpResponseType.success);
}