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