isFailure property

bool get isFailure

Implementation

bool get isFailure => statusCode >= 400 && statusCode < 600;