getNum method

num getNum(
  1. String key, [
  2. num? defaultValue
])

Returns num value by key

If map not contains key or the value has a different type and defaultValue is null then throw FormatException

Implementation

num getNum(String key, [num? defaultValue]) {
  return _value(key, defaultValue);
}