copyWith method

  1. @override
UpdateChatIsMarkedAsUnread copyWith({
  1. int? chatId,
  2. bool? isMarkedAsUnread,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatIsMarkedAsUnread copyWith({
  int? chatId,
  bool? isMarkedAsUnread,
  dynamic extra,
  int? clientId,
}) => UpdateChatIsMarkedAsUnread(
  chatId: chatId ?? this.chatId,
  isMarkedAsUnread: isMarkedAsUnread ?? this.isMarkedAsUnread,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);