tryNum abstract method

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

Returns a value at key as num or null if missing.

If provided min and max are used to clamp the returned value.

null is returned if an underlying value is unavailable or cannot be converted to num.

Implementation

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