CampaignGoal.fromJson constructor

CampaignGoal.fromJson(
  1. Map json_
)

Implementation

CampaignGoal.fromJson(core.Map json_)
    : this(
        campaignGoalType: json_.containsKey('campaignGoalType')
            ? json_['campaignGoalType'] as core.String
            : null,
        performanceGoal: json_.containsKey('performanceGoal')
            ? PerformanceGoal.fromJson(json_['performanceGoal']
                as core.Map<core.String, core.dynamic>)
            : null,
      );