toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (active != null) 'active': active!,
      if (applyEventTags != null) 'applyEventTags': applyEventTags!,
      if (clickThroughUrl != null) 'clickThroughUrl': clickThroughUrl!,
      if (companionCreativeOverrides != null)
        'companionCreativeOverrides': companionCreativeOverrides!,
      if (creativeGroupAssignments != null)
        'creativeGroupAssignments': creativeGroupAssignments!,
      if (creativeId != null) 'creativeId': creativeId!,
      if (creativeIdDimensionValue != null)
        'creativeIdDimensionValue': creativeIdDimensionValue!,
      if (endTime != null) 'endTime': endTime!.toUtc().toIso8601String(),
      if (richMediaExitOverrides != null)
        'richMediaExitOverrides': richMediaExitOverrides!,
      if (sequence != null) 'sequence': sequence!,
      if (sslCompliant != null) 'sslCompliant': sslCompliant!,
      if (startTime != null)
        'startTime': startTime!.toUtc().toIso8601String(),
      if (weight != null) 'weight': weight!,
    };