setDouble method

  1. @override
Future<void> setDouble(
  1. String key,
  2. double? value
)
override

Method to set Double value to the storage, value can be null according to the support by underlying storage system.

Example code(SharedPreferences Implementation): /// ```dart Future

Implementation

@override
Future<void> setDouble(String key, double? value) async {
  await _preferences?.setDouble(key, value!);
}