ApiException.noInternet constructor

ApiException.noInternet()

Create ApiException for no internet connection

Implementation

factory ApiException.noInternet() {
  return ApiException(
    message: 'No internet connection. Please check your network.',
    type: ApiExceptionType.noInternet,
  );
}