setInt static method

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

put int.

Implementation

static Future<bool>? setInt(String key, int value) {
  return prefs?.setInt(key, value);
}