isSuccess property
bool
get
isSuccess
Check if response is successful
Implementation
bool get isSuccess => status == ResponseStatus.success && error == null;
Check if response is successful
bool get isSuccess => status == ResponseStatus.success && error == null;