init static method
初始化
Implementation
static Future init() async {
_prefs = await SharedPreferences.getInstance();
_initialized = true;
}
初始化
static Future init() async {
_prefs = await SharedPreferences.getInstance();
_initialized = true;
}