toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creativeFormat != null) 'creativeFormat': creativeFormat!,
      if (creativePreApprovalPolicy != null)
        'creativePreApprovalPolicy': creativePreApprovalPolicy!,
      if (creativeSafeFrameCompatibility != null)
        'creativeSafeFrameCompatibility': creativeSafeFrameCompatibility!,
      if (maxAdDurationMs != null) 'maxAdDurationMs': maxAdDurationMs!,
      if (programmaticCreativeSource != null)
        'programmaticCreativeSource': programmaticCreativeSource!,
      if (skippableAdType != null) 'skippableAdType': skippableAdType!,
    };