GrpcError.unavailable constructor

const GrpcError.unavailable([
  1. String? message,
  2. List<GeneratedMessage>? details,
  3. Object? rawResponse
])

The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

See litmus test above for deciding between failedPrecondition, aborted, and unavailable.

Implementation

const GrpcError.unavailable([this.message, this.details, this.rawResponse])
    : trailers = const {},
      code = StatusCode.unavailable;