setDouble method

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

Implementation

@override
Future<bool> setDouble(String key, double? value) async {
  final map = await read();
  map[key] = value;
  return await write(WriteData(map: map, updatedKey: key));
}