findPropertyAsStringTrim method

String? findPropertyAsStringTrim(
  1. List<String> keys, [
  2. String? def
])

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();
}