getNum abstract method

num getNum(
  1. K key, {
  2. num? min,
  3. num? max,
})

Returns a value at key as num.

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 num.

Implementation

num getNum(K key, {num? min, num? max});