getInt method
Retrieves an integer value associated with the given feature
from the shared preferences.
The feature
parameter specifies the feature for which the integer value is to be retrieved.
Returns the integer value associated with the feature
key in the shared preferences, or null if the key is not found.
Implementation
int? getInt(Feature feature) {
return _sharedPreferences.getInt(feature.key);
}