Participant class

Represents a participant in a clinical or administrative process, potentially linked to a specific actor entity and with a status reflecting their role or involvement.

Constructors

Participant({Actor? actor, ParticipationStatus? status})
Constructs a new Participant.
Participant.fromJson(JsonObject _json)
Creates a new Participant instance from a JsonObject.

Properties

actor Actor?
The actor involved in the event.
no setter
hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
The underlying JSON object for this instance.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ParticipationStatus?
The status of participation (e.g., confirmed, declined).
no setter

Methods

copyWith({Actor? actor, ParticipationStatus? status}) Participant
Makes a copy of this Participant and allows for non-destructive mutation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

actorField → const FieldDefinition<Actor>
Field definition for actor.
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Participant.
statusField → const FieldDefinition<ParticipationStatus>
Field definition for status.