NonGuaranteedAuctionTerms.fromJson constructor

NonGuaranteedAuctionTerms.fromJson(
  1. Map json_
)

Implementation

NonGuaranteedAuctionTerms.fromJson(core.Map json_)
    : this(
        autoOptimizePrivateAuction:
            json_.containsKey('autoOptimizePrivateAuction')
                ? json_['autoOptimizePrivateAuction'] as core.bool
                : null,
        reservePricesPerBuyer: json_.containsKey('reservePricesPerBuyer')
            ? (json_['reservePricesPerBuyer'] as core.List)
                .map((value) => PricePerBuyer.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );