InsertionOrderBudget.fromJson constructor

InsertionOrderBudget.fromJson(
  1. Map json_
)

Implementation

InsertionOrderBudget.fromJson(core.Map json_)
    : this(
        automationType: json_.containsKey('automationType')
            ? json_['automationType'] as core.String
            : null,
        budgetSegments: json_.containsKey('budgetSegments')
            ? (json_['budgetSegments'] as core.List)
                .map((value) => InsertionOrderBudgetSegment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        budgetUnit: json_.containsKey('budgetUnit')
            ? json_['budgetUnit'] as core.String
            : null,
      );