putDouble static method

Future<bool> putDouble(
  1. String key,
  2. double value
)

put double. 存储sp中key的double值

Implementation

static Future<bool> putDouble(String key, double value) =>
    _prefs.setDouble(key, value);