getNum method
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);
}