Buyer.fromJson constructor

Buyer.fromJson(
  1. Map json_
)

Implementation

Buyer.fromJson(core.Map json_)
    : this(
        activeCreativeCount: json_.containsKey('activeCreativeCount')
            ? json_['activeCreativeCount'] as core.String
            : null,
        bidder: json_.containsKey('bidder')
            ? json_['bidder'] as core.String
            : null,
        billingIds: json_.containsKey('billingIds')
            ? (json_['billingIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        maximumActiveCreativeCount:
            json_.containsKey('maximumActiveCreativeCount')
                ? json_['maximumActiveCreativeCount'] as core.String
                : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );