init static method

Future<SharedPreferences> init()

Implementation

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