getOrDefault<V> method
Implementation
V? getOrDefault<V>(String key, V? defaultValue) {
if (!_properties.containsKey(key)) {
return defaultValue;
} else {
return _properties[key] as V?;
}
}
V? getOrDefault<V>(String key, V? defaultValue) {
if (!_properties.containsKey(key)) {
return defaultValue;
} else {
return _properties[key] as V?;
}
}