copyWith method
YMapDelta
copyWith({
- YMapDeltaAction? action,
- Option<
YValue> ? oldValue, - Option<
YValue> ? newValue,
Returns a new instance by overriding the values passed as arguments
Implementation
YMapDelta copyWith({
YMapDeltaAction? action,
Option<YValue>? oldValue,
Option<YValue>? newValue,
}) =>
YMapDelta(
action: action ?? this.action,
oldValue: oldValue != null ? oldValue.value : this.oldValue,
newValue: newValue != null ? newValue.value : this.newValue);