copyWith method

  1. @override
UpdateChatOnlineMemberCount copyWith({
  1. int? chatId,
  2. int? onlineMemberCount,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

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