RecentChatsTopEvents$Subscription$RecentChatsTopEvents.fromJson constructor
RecentChatsTopEvents$Subscription$RecentChatsTopEvents.fromJson( - Map<String, dynamic> json
)
Implementation
factory RecentChatsTopEvents$Subscription$RecentChatsTopEvents.fromJson(
Map<String, dynamic> json,
) {
switch (json['__typename'].toString()) {
case r'SubscriptionInitialized':
return RecentChatsTopEvents$Subscription$RecentChatsTopEvents$SubscriptionInitialized.fromJson(
json,
);
case r'RecentChatsTop':
return RecentChatsTopEvents$Subscription$RecentChatsTopEvents$RecentChatsTop.fromJson(
json,
);
case r'EventRecentChatsTopChatUpdated':
return RecentChatsTopEvents$Subscription$RecentChatsTopEvents$EventRecentChatsTopChatUpdated.fromJson(
json,
);
case r'EventRecentChatsTopChatRemoved':
return RecentChatsTopEvents$Subscription$RecentChatsTopEvents$EventRecentChatsTopChatRemoved.fromJson(
json,
);
default:
}
return _$RecentChatsTopEvents$Subscription$RecentChatsTopEventsFromJson(
json,
);
}