AdClient.fromJson constructor

AdClient.fromJson(
  1. Map json_
)

Implementation

AdClient.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        productCode: json_.containsKey('productCode')
            ? json_['productCode'] as core.String
            : null,
        reportingDimensionId: json_.containsKey('reportingDimensionId')
            ? json_['reportingDimensionId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );