获取bool值,不存在时返回默认值
defValue 默认值
defValue
bool boolOrDefValue(bool defValue) { return boolValue ?? defValue; }