isValid property
bool
get
isValid
Returns true
if status is a APIResponseStatus.OK or a APIResponseStatus.NOT_FOUND.
Implementation
bool get isValid =>
status == APIResponseStatus.OK || status == APIResponseStatus.NOT_FOUND;