init static method

Future<void> init()

INIT — App start me sirf 1 baar call hoga

Implementation

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