BudgetSummary.fromJson constructor

BudgetSummary.fromJson(
  1. Map json_
)

Implementation

BudgetSummary.fromJson(core.Map json_)
    : this(
        externalBudgetId: json_.containsKey('externalBudgetId')
            ? json_['externalBudgetId'] as core.String
            : null,
        preTaxAmountMicros: json_.containsKey('preTaxAmountMicros')
            ? json_['preTaxAmountMicros'] as core.String
            : null,
        prismaCpeCode: json_.containsKey('prismaCpeCode')
            ? PrismaCpeCode.fromJson(
                json_['prismaCpeCode'] as core.Map<core.String, core.dynamic>)
            : null,
        taxAmountMicros: json_.containsKey('taxAmountMicros')
            ? json_['taxAmountMicros'] as core.String
            : null,
        totalAmountMicros: json_.containsKey('totalAmountMicros')
            ? json_['totalAmountMicros'] as core.String
            : null,
      );