Conversation constructor

Conversation({
  1. required Session session,
  2. required String id,
  3. Map<String, String?>? custom,
  4. List<String>? welcomeMessages,
  5. String? photoUrl,
  6. String? subject,
  7. required Set<Participant> participants,
})

Implementation

Conversation({
  required Session session,
  required String id,
  Map<String, String?>? custom,
  List<String>? welcomeMessages,
  String? photoUrl,
  String? subject,
  required this.participants,
})  : _session = session,
      super(
        id: id,
        custom: custom,
        welcomeMessages: welcomeMessages,
        photoUrl: photoUrl,
        subject: subject,
      );