copyWith method

CheckChatUsername copyWith({
  1. int? chatId,
  2. String? username,
})

Implementation

CheckChatUsername copyWith({
  int? chatId,
  String? username,
}) =>
    CheckChatUsername(
      chatId: chatId ?? this.chatId,
      username: username ?? this.username,
    );