ContactsEvents$Subscription$ChatContactsEvents.fromJson constructor
ContactsEvents$Subscription$ChatContactsEvents.fromJson( - Map<String, dynamic> json
)
Implementation
factory ContactsEvents$Subscription$ChatContactsEvents.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'SubscriptionInitialized':
return ContactsEvents$Subscription$ChatContactsEvents$SubscriptionInitialized
.fromJson(json);
case r'ChatContactEventsVersioned':
return ContactsEvents$Subscription$ChatContactsEvents$ChatContactEventsVersioned
.fromJson(json);
default:
}
return _$ContactsEvents$Subscription$ChatContactsEventsFromJson(json);
}