getPropertyAsString method

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

Gets a property with key. Returns the value as String.

def The default value if key not found.

Implementation

String? getPropertyAsString(String key, [String? def]) =>
    getPropertyAs(key, parseString, def);