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