copyWith method

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

Implementation

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