toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'SubscriptionInitialized':
return (this
as RecentChatsTopEvents$Subscription$RecentChatsTopEvents$SubscriptionInitialized)
.toJson();
case r'RecentChatsTop':
return (this
as RecentChatsTopEvents$Subscription$RecentChatsTopEvents$RecentChatsTop)
.toJson();
case r'RecentChatsTopChatUpdatedEvent':
return (this
as RecentChatsTopEvents$Subscription$RecentChatsTopEvents$RecentChatsTopChatUpdatedEvent)
.toJson();
case r'RecentChatsTopChatRemovedEvent':
return (this
as RecentChatsTopEvents$Subscription$RecentChatsTopEvents$RecentChatsTopChatRemovedEvent)
.toJson();
default:
}
return _$RecentChatsTopEvents$Subscription$RecentChatsTopEventsToJson(this);
}