copyWith method

SetVideoChatDefaultParticipant copyWith({
  1. int? chatId,
  2. MessageSender? defaultParticipantId,
})

Implementation

SetVideoChatDefaultParticipant copyWith({
  int? chatId,
  MessageSender? defaultParticipantId,
}) =>
    SetVideoChatDefaultParticipant(
      chatId: chatId ?? this.chatId,
      defaultParticipantId: defaultParticipantId ?? this.defaultParticipantId,
    );