init static method

Implementation

static Future<PreferenceUtils> init() async {
  PreferenceUtils.instance = PreferenceUtils();
  instance.prefs = await SharedPreferences.getInstance();
  return instance;
}