init static method

Future<void> init()

Implementation

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