return String by key if exists else return def value
String
def
static String? getStringOr( String key, String def, ) => getStringOrNull(key) ?? def;