putDouble method

void putDouble({
  1. required String key,
  2. double value = 0.0,
})

保存double数据 key 存储key value double value

Implementation

void putDouble({required String key, double value = 0.0}) {
  if (key.isNotEmptyString) {
    _storageData<double>(key, value, "double");
  }
}