isNetworkError property
bool
get
isNetworkError
Check if this is a network error
Implementation
bool get isNetworkError =>
code == '000' && message.startsWith('Network Error');
Check if this is a network error
bool get isNetworkError =>
code == '000' && message.startsWith('Network Error');