copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
UpdateStoryListChatCount copyWith({
StoryList? storyList,
int? chatCount,
dynamic extra,
int? clientId,
}) =>
UpdateStoryListChatCount(
storyList: storyList ?? this.storyList,
chatCount: chatCount ?? this.chatCount,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);