CallEvents$Subscription$ChatCallEvents.fromJson constructor
CallEvents$Subscription$ChatCallEvents.fromJson( - Map<String, dynamic> json
)
Implementation
factory CallEvents$Subscription$ChatCallEvents.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'SubscriptionInitialized':
return CallEvents$Subscription$ChatCallEvents$SubscriptionInitialized
.fromJson(json);
case r'ChatCall':
return CallEvents$Subscription$ChatCallEvents$ChatCall.fromJson(json);
case r'ChatCallEventsVersioned':
return CallEvents$Subscription$ChatCallEvents$ChatCallEventsVersioned
.fromJson(json);
default:
}
return _$CallEvents$Subscription$ChatCallEventsFromJson(json);
}