toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appStarRating != null) 'appStarRating': appStarRating!,
      if (avoidedAgeRatings != null) 'avoidedAgeRatings': avoidedAgeRatings!,
      if (brandSafetyCategories != null)
        'brandSafetyCategories': brandSafetyCategories!,
      if (customSegmentId != null) 'customSegmentId': customSegmentId!,
      if (displayViewability != null)
        'displayViewability': displayViewability!,
      if (fraudInvalidTraffic != null)
        'fraudInvalidTraffic': fraudInvalidTraffic!,
      if (videoViewability != null) 'videoViewability': videoViewability!,
    };