toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allowedFormats != null) 'allowedFormats': allowedFormats!,
if (companionSizes != null) 'companionSizes': companionSizes!,
if (creativeSizeType != null) 'creativeSizeType': creativeSizeType!,
if (nativeTemplate != null) 'nativeTemplate': nativeTemplate!,
if (size != null) 'size': size!,
if (skippableAdType != null) 'skippableAdType': skippableAdType!,
};