copyWith method

Participant copyWith({
  1. Actor? actor,
  2. ParticipationStatus? status,
})

Makes a copy of this Participant and allows for non-destructive mutation.

Implementation

Participant copyWith({
  Actor? actor,
  ParticipationStatus? status,
}) =>
    Participant(
      actor: actor ?? this.actor,
      status: status ?? this.status,
    );