copyWith method

RemovePolylineOp copyWith({
  1. Key? key,
  2. int? index,
  3. InteractivePolyline<Object>? removed,
})

Implementation

RemovePolylineOp copyWith(
    {Key? key, int? index, InteractivePolyline? removed}) {
  return RemovePolylineOp(
    key: key ?? this.key,
    index: index ?? this.index,
    removed: removed ?? this.removed,
  );
}