setDouble method
Encrypts and saves a double value.
Implementation
Future<void> setDouble(String key, double value) async {
try {
await _storage.write(key: key, value: value.toString());
} catch (e, st) {
throw StorageException(
message: 'Failed to set double',
key: key,
cause: e,
stackTrace: st,
);
}
}