setDoubleAsync function

  1. @Deprecated('Use setValue instead')
Future<bool> setDoubleAsync(
  1. String key,
  2. double value
)

//////////////////////////////////////////////////////////////////// DEPRECATED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
add a Double in SharedPref

Implementation

/// add a Double in SharedPref
@Deprecated('Use setValue instead')
Future<bool> setDoubleAsync(String key, double value) async {
  return await sharedPreferences.setDouble(key, value);
}