copyWith method

YMapEvent copyWith({
  1. YMap? target,
  2. List<(String, YMapDelta)>? keys,
  3. EventPath? path,
})

Returns a new instance by overriding the values passed as arguments

Implementation

YMapEvent copyWith({
  YMap? target,
  List<(String, YMapDelta)>? keys,
  EventPath? path,
}) => YMapEvent(
  target: target ?? this.target,
  keys: keys ?? this.keys,
  path: path ?? this.path,
);