getPropertyAsStringTrimUC method

String? getPropertyAsStringTrimUC(
  1. String key, [
  2. String? def
])

Gets a property with key. Returns the value in upper case and trimmed.

def The default value if key not found.

Implementation

String? getPropertyAsStringTrimUC(String key, [String? def]) {
  var val = getPropertyAsStringTrim(key, def);
  return val?.toUpperCase();
}