putInt static method

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

put int.

Implementation

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