isTimeout property

bool get isTimeout

Returns true if this is a timeout error.

Implementation

bool get isTimeout =>
    type == ClientErrorType.connectionTimeout ||
    type == ClientErrorType.sendTimeout ||
    type == ClientErrorType.receiveTimeout;