获取num值,不存在时返回默认值
defValue 默认值
defValue
num numOrDefValue(num defValue) { return numValue ?? defValue; }