copyWith method

  1. @override
UpdateChatMember copyWith({
  1. int? chatId,
  2. int? actorUserId,
  3. int? date,
  4. ChatInviteLink? inviteLink,
  5. ChatMember? oldChatMember,
  6. ChatMember? newChatMember,
  7. dynamic extra,
  8. int? clientId,
})
override

Implementation

@override
UpdateChatMember copyWith({
  int? chatId,
  int? actorUserId,
  int? date,
  ChatInviteLink? inviteLink,
  ChatMember? oldChatMember,
  ChatMember? newChatMember,
  dynamic extra,
  int? clientId,
}) => UpdateChatMember(
  chatId: chatId ?? this.chatId,
  actorUserId: actorUserId ?? this.actorUserId,
  date: date ?? this.date,
  inviteLink: inviteLink ?? this.inviteLink,
  oldChatMember: oldChatMember ?? this.oldChatMember,
  newChatMember: newChatMember ?? this.newChatMember,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);