setDouble static method

Future<void> setDouble(
  1. String key,
  2. double data
)

Implementation

static Future<void> setDouble(String key, double data) async {
  await prefs?.setDouble(key, data);
}