Participant constructor

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

Constructs a new Participant.

Implementation

Participant({
  Actor? actor,
  ParticipationStatus? status,
}) : this.fromJson(
        JsonObject({
          if (actor != null) actorField.name: actor.json,
          if (status != null) statusField.name: JsonString(status.code),
        }),
      );