Conversation.of constructor

Conversation.of(
  1. Conversation other
)

Implementation

Conversation.of(Conversation other)
  : _session = other._session,
    participants = Set.of(other.participants.map(Participant.of)),
    super(
      id: other.id,
      custom: (other.custom != null ? Map.of(other.custom!) : null),
      welcomeMessages: (other.welcomeMessages != null
          ? List.of(other.welcomeMessages!)
          : null),
      photoUrl: other.photoUrl,
      subject: other.subject,
    );