setInt method

Future<bool> setInt(
  1. String key,
  2. int value
)

/

Implementation

Future<bool> setInt(String key, int value) {
  var results = _preferences.setInt(key, value);
  if (localKeys.contains(key)) return results;
  localKeys.add(key);
  return results;
}