toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clickTrackingUrl != null) 'clickTrackingUrl': clickTrackingUrl!,
      if (dimensions != null) 'dimensions': dimensions!,
      if (landingPageUrl != null) 'landingPageUrl': landingPageUrl!,
      if (position != null) 'position': position!,
      if (program != null) 'program': program!,
      if (resourceMimeType != null) 'resourceMimeType': resourceMimeType!,
      if (resourceUrl != null) 'resourceUrl': resourceUrl!,
      if (viewTrackingUrl != null) 'viewTrackingUrl': viewTrackingUrl!,
    };