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<PricePerBuyer>((value) => PricePerBuyer.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );