isConnectionError property

bool get isConnectionError

Returns true if this is a connection error.

Implementation

bool get isConnectionError => type == ClientErrorType.connectionError;