init method

Future<SharedPreferences> init()

Implementation

Future<SharedPreferences> init() async {
  return await SharedPreferences.getInstance();
}