PricePerBuyer.fromJson constructor

PricePerBuyer.fromJson(
  1. Map json_
)

Implementation

PricePerBuyer.fromJson(core.Map json_)
    : this(
        advertiserIds: json_.containsKey('advertiserIds')
            ? (json_['advertiserIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        buyer: json_.containsKey('buyer')
            ? Buyer.fromJson(
                json_['buyer'] as core.Map<core.String, core.dynamic>)
            : null,
        price: json_.containsKey('price')
            ? Price.fromJson(
                json_['price'] as core.Map<core.String, core.dynamic>)
            : null,
      );