InterestGroupAuctionNetworkRequestCreatedEvent.fromJson constructor

InterestGroupAuctionNetworkRequestCreatedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InterestGroupAuctionNetworkRequestCreatedEvent.fromJson(
    Map<String, dynamic> json) {
  return InterestGroupAuctionNetworkRequestCreatedEvent(
    type: InterestGroupAuctionFetchType.fromJson(json['type'] as String),
    requestId: network.RequestId.fromJson(json['requestId'] as String),
    auctions: (json['auctions'] as List)
        .map((e) => InterestGroupAuctionId.fromJson(e as String))
        .toList(),
  );
}