Retrieves an int value with the specified key.
@override Future<int?> getInt(String key) async { var prefs = await SharedPreferences.getInstance(); return prefs.getInt(key); }