findPropertyAsStringTrim method
Finds a property with keys
. Returns the value trimmed.
def
The default value if keys
not found.
Implementation
String? findPropertyAsStringTrim(List<String> keys, [String? def]) {
var val = findPropertyAsString(keys, def);
return val?.trim();
}