AdClient.fromJson constructor

AdClient.fromJson(
  1. Map json_
)

Implementation

AdClient.fromJson(core.Map json_)
    : this(
        arcOptIn: json_.containsKey('arcOptIn')
            ? json_['arcOptIn'] as core.bool
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        productCode: json_.containsKey('productCode')
            ? json_['productCode'] as core.String
            : null,
        supportsReporting: json_.containsKey('supportsReporting')
            ? json_['supportsReporting'] as core.bool
            : null,
      );