copyWith method
Implementation
UpdateChatTitle copyWith({
int? chatId,
String? title,
}) =>
UpdateChatTitle(
chatId: chatId ?? this.chatId,
title: title ?? this.title,
);
UpdateChatTitle copyWith({
int? chatId,
String? title,
}) =>
UpdateChatTitle(
chatId: chatId ?? this.chatId,
title: title ?? this.title,
);