init static method

Future<void> init()

Implementation

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