setIntValues method

Future setIntValues(
  1. String key,
  2. int value
)

Implementation

Future<dynamic> setIntValues(String key, int value) async {
  var prefs = await SharedPreferences.getInstance();
  await prefs.setInt(key, value);
}