toJson method

Map<String, dynamic> toJson()

Implementation

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