isTimeout property

bool get isTimeout

Indicates whether the platform error represents a timeout.

Implementation

bool get isTimeout => (code ?? '').toLowerCase().contains('timeout');