isConnectionError property

bool isConnectionError

Implementation

bool get isConnectionError =>
    (exception is DioException) &&
    (exception as DioException).type == DioExceptionType.connectionError;