statusMessage property

String get statusMessage

Implementation

String get statusMessage {
  final msg = _effectiveResponse?.statusMessage;
  if (msg != null && msg.isNotEmpty) return msg;
  if (dioError != null) {
    return dioError!.message ?? _errorTypeReadable(dioError!.type);
  }
  if (isPending) return 'Waiting for response…';
  if (response == null) return 'No response received';
  return 'NONE';
}