isNetworkRelated property

bool get isNetworkRelated

Indicates whether this Object is a network related Exception.

Implementation

bool get isNetworkRelated {
  return this is ConnectionException ||
      this is SocketException ||
      this is WebSocketException ||
      this is WebSocketChannelException ||
      this is HttpException ||
      this is ClientException ||
      this is DioException ||
      this is TimeoutException ||
      this is ResubscriptionRequiredException ||
      this is ConnectionException;
}