removeParticipant method Null safety

Participants removeParticipant(
  1. Participant participant
)

Implementation

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