getInt method
Returns a value at key
as int
.
If provided min
and max
are used to clamp the returned value.
FormatException is thrown if an underlying value is unavailable or cannot be converted to int.
Implementation
@override
int getInt(K key, {int? min, int? max}) =>
toIntValue(this[key], min: min, max: max);