copyWith method

  1. @override
UpdateChatTheme copyWith({
  1. int? chatId,
  2. String? themeName,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatTheme copyWith({
  int? chatId,
  String? themeName,
  dynamic extra,
  int? clientId,
}) =>
    UpdateChatTheme(
      chatId: chatId ?? this.chatId,
      themeName: themeName ?? this.themeName,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );