initPrefs method

Future<void> initPrefs()

Implementation

Future<void> initPrefs() async {
  _prefs = await SharedPreferences.getInstance();
}