initialize static method
Initialize the service with SharedPreferences
Implementation
static Future<void> initialize() async {
_prefs ??= await SharedPreferences.getInstance();
}
Initialize the service with SharedPreferences
static Future<void> initialize() async {
_prefs ??= await SharedPreferences.getInstance();
}