isFailed property
bool
get
isFailed
True for failed requests (i.e. neither successful nor pending)
Implementation
bool get isFailed => !isSuccessful && !isPending;
True for failed requests (i.e. neither successful nor pending)
bool get isFailed => !isSuccessful && !isPending;