copyWith method

SetChatTheme copyWith({
  1. int? chatId,
  2. InputChatTheme? theme,
})

Implementation

SetChatTheme copyWith({
  int? chatId,
  InputChatTheme? theme,
}) =>
    SetChatTheme(
      chatId: chatId ?? this.chatId,
      theme: theme ?? this.theme,
    );