Conversation.of constructor
Conversation.of(
- Conversation other
Implementation
Conversation.of(Conversation other)
: _session = other._session,
participants = Set<Participant>.of(other.participants
.map((participant) => Participant.of(participant))),
super(
id: other.id,
custom: (other.custom != null
? Map<String, String?>.of(other.custom!)
: null),
welcomeMessages: (other.welcomeMessages != null
? List<String>.of(other.welcomeMessages!)
: null),
photoUrl: other.photoUrl,
subject: other.subject);