copyWith method

UpdateChatTheme copyWith({
  1. int? chatId,
  2. ChatTheme? theme,
})

Implementation

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