copyWith method

TransferChatOwnership copyWith({
  1. int? chatId,
  2. int? userId,
  3. String? password,
})

Implementation

TransferChatOwnership copyWith({
  int? chatId,
  int? userId,
  String? password,
}) =>
    TransferChatOwnership(
      chatId: chatId ?? this.chatId,
      userId: userId ?? this.userId,
      password: password ?? this.password,
    );