toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creativeAssignments != null)
        'creativeAssignments': creativeAssignments!,
      if (creativeOptimizationConfigurationId != null)
        'creativeOptimizationConfigurationId':
            creativeOptimizationConfigurationId!,
      if (type != null) 'type': type!,
      if (weightCalculationStrategy != null)
        'weightCalculationStrategy': weightCalculationStrategy!,
    };