BlocklistEventsVersionedMixin$Events.fromJson constructor

BlocklistEventsVersionedMixin$Events.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BlocklistEventsVersionedMixin$Events.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'EventBlocklistRecordAdded':
      return BlocklistEventsVersionedMixin$Events$EventBlocklistRecordAdded
          .fromJson(json);
    default:
  }
  return _$BlocklistEventsVersionedMixin$EventsFromJson(json);
}