isSuccessful property
bool
get
isSuccessful
True for successfully processed requests
Implementation
bool get isSuccessful => value >= ok && value < 300 && !isPending;
True for successfully processed requests
bool get isSuccessful => value >= ok && value < 300 && !isPending;