initialize method

void initialize()

Implementation

void initialize() async {
  _prefs ??= await SharedPreferences.getInstance();
}