Returns an int value associated with the given key, or defaultValue if the key is not found.
int
key
defaultValue
static int getInt(String key, {int defaultValue = 0}) => _instance.getInt(key) ?? defaultValue;