toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customSegmentId != null) 'customSegmentId': customSegmentId!,
      if (displayViewability != null)
        'displayViewability': displayViewability!,
      if (excludeUnrateable != null) 'excludeUnrateable': excludeUnrateable!,
      if (excludedAdFraudRisk != null)
        'excludedAdFraudRisk': excludedAdFraudRisk!,
      if (excludedAdultRisk != null) 'excludedAdultRisk': excludedAdultRisk!,
      if (excludedAlcoholRisk != null)
        'excludedAlcoholRisk': excludedAlcoholRisk!,
      if (excludedDrugsRisk != null) 'excludedDrugsRisk': excludedDrugsRisk!,
      if (excludedGamblingRisk != null)
        'excludedGamblingRisk': excludedGamblingRisk!,
      if (excludedHateSpeechRisk != null)
        'excludedHateSpeechRisk': excludedHateSpeechRisk!,
      if (excludedIllegalDownloadsRisk != null)
        'excludedIllegalDownloadsRisk': excludedIllegalDownloadsRisk!,
      if (excludedOffensiveLanguageRisk != null)
        'excludedOffensiveLanguageRisk': excludedOffensiveLanguageRisk!,
      if (excludedViolenceRisk != null)
        'excludedViolenceRisk': excludedViolenceRisk!,
      if (traqScoreOption != null) 'traqScoreOption': traqScoreOption!,
      if (videoViewability != null) 'videoViewability': videoViewability!,
    };