toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalCallToAction != null)
        'additionalCallToAction': additionalCallToAction!,
      if (additionalDescriptions != null)
        'additionalDescriptions': additionalDescriptions!,
      if (creative != null) 'creative': creative!,
      if (defaultCallToAction != null)
        'defaultCallToAction': defaultCallToAction!,
      if (defaultDescription != null)
        'defaultDescription': defaultDescription!,
      if (numericalImpact != null) 'numericalImpact': numericalImpact!,
      if (paid != null) 'paid': paid!,
      if (recommendationName != null)
        'recommendationName': recommendationName!,
      if (subType != null) 'subType': subType!,
      if (title != null) 'title': title!,
      if (type != null) 'type': type!,
    };