removeParticipant method Null safety

  1. @internal
Participants removeParticipant(
  1. Participant participant
)

Implementation

@internal
Participants removeParticipant(Participant participant) => copyWith(
      remote: Map.unmodifiable({...remote}..remove(participant.id)),
      all: Map.unmodifiable({...all}..remove(participant.id)),
    );