resolveValue<T> function
T
resolveValue<T>(
- T oldValue,
- T newValue
Implementation
T resolveValue<T>(T oldValue, T newValue) {
return newValue == null ? oldValue : newValue;
}