initialize static method

dynamic initialize()

Implementation

static initialize() async {
  sharedPreferences = await SharedPreferences.getInstance();
}