by default it will use http and show snackbar
void init({bool? usehttp, bool? showSnackbar}) { useHttp = usehttp ?? true; showSnackbar = showSnackbar ?? true; }