IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents.fromJson constructor
Implementation
factory IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'SubscriptionInitialized':
return IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$SubscriptionInitialized
.fromJson(json);
case r'IncomingChatCallsTop':
return IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$IncomingChatCallsTop
.fromJson(json);
case r'EventIncomingChatCallsTopChatCallAdded':
return IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$EventIncomingChatCallsTopChatCallAdded
.fromJson(json);
case r'EventIncomingChatCallsTopChatCallRemoved':
return IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEvents$EventIncomingChatCallsTopChatCallRemoved
.fromJson(json);
default:
}
return _$IncomingCallsTopEvents$Subscription$IncomingChatCallsTopEventsFromJson(
json);
}