putInt static method

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

Saves an integer value to persistent storage under the specified content provider.

If value is null, this is equivalent to calling remove() on the key.

Implementation

static Future<dynamic> putInt(String key, int? value) {
  return _setValue('Int', key, value);
}