CampaignSummary.fromJson constructor

CampaignSummary.fromJson(
  1. Map json_
)

Implementation

CampaignSummary.fromJson(core.Map json_)
    : this(
        billingInvoiceCode: json_.containsKey('billingInvoiceCode')
            ? json_['billingInvoiceCode'] as core.String
            : null,
        campaignId: json_.containsKey('campaignId')
            ? json_['campaignId'] as core.String
            : null,
        preTaxAmountMicros: json_.containsKey('preTaxAmountMicros')
            ? json_['preTaxAmountMicros'] as core.String
            : null,
        taxAmountMicros: json_.containsKey('taxAmountMicros')
            ? json_['taxAmountMicros'] as core.String
            : null,
        totalAmountMicros: json_.containsKey('totalAmountMicros')
            ? json_['totalAmountMicros'] as core.String
            : null,
      );