getInt method
Returns int value by key
or defaultValue
If map not contains key
or the value has a different type and defaultValue
is null then throw FormatException
Implementation
int getInt(String key, [int? defaultValue]) {
return _value(key, defaultValue);
}