putBool static method
添加bool类型数据
key 键
value 值
Implementation
static Future<void> putBool(String key, bool value) async {
_println('putBool', key, value);
SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.setBool(key, value);
}