setDouble method
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!);
}