copyWith method

  1. @override
BotCommandScopeChatMember copyWith({
  1. int? chatId,
  2. int? userId,
})
override

Implementation

@override
BotCommandScopeChatMember copyWith({
  int? chatId,
  int? userId,
}) => BotCommandScopeChatMember(
  chatId: chatId ?? this.chatId,
  userId: userId ?? this.userId,
);