getValueOr<T> method
Implementation
T getValueOr<T>({
required String name,
required T defaultValue,
}) {
if (this?.containsKey(name) == true && this?[name] != null) {
return _getValueOr(this?[name], defaultValue);
} else {
return defaultValue;
}
}