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