setInt method
Saves or overwrites an int value.
Implementation
Future<void> setInt(String key, int value) async {
try {
await _store.setInt(key, value);
} catch (e, st) {
throw StorageException(
message: 'Failed to set int',
key: key,
cause: e,
stackTrace: st,
);
}
}