getPropertyWithDefault method
Get a property by key. If the property is not set, the given default value is returned. @param key The property key. @param value The default value to use if the property does not exist. @return The property value or the default value. @see #setProperty
Implementation
@override
String getPropertyWithDefault(String key, String value) {
var r = _properties[key];
if (r != null) {
r.used = true;
return r.value;
}
return value;
}