SessionEventsVersionedMixin$Events.fromJson constructor
SessionEventsVersionedMixin$Events.fromJson( - Map<String, dynamic> json
)
Implementation
factory SessionEventsVersionedMixin$Events.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'EventSessionCreated':
return SessionEventsVersionedMixin$Events$EventSessionCreated.fromJson(
json);
case r'EventSessionRefreshed':
return SessionEventsVersionedMixin$Events$EventSessionRefreshed
.fromJson(json);
default:
}
return _$SessionEventsVersionedMixin$EventsFromJson(json);
}