获取String值,不存在时返回默认值
defValue 默认值
defValue
String stringOrDefValue(String defValue) { return stringValue ?? defValue; }