toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assetIdentifier != null) 'assetIdentifier': assetIdentifier!,
      if (clickTags != null) 'clickTags': clickTags!,
      if (counterCustomEvents != null)
        'counterCustomEvents': counterCustomEvents!,
      if (detectedFeatures != null) 'detectedFeatures': detectedFeatures!,
      if (exitCustomEvents != null) 'exitCustomEvents': exitCustomEvents!,
      if (id != null) 'id': id!,
      if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
      if (kind != null) 'kind': kind!,
      if (mediaRequestInfo != null) 'mediaRequestInfo': mediaRequestInfo!,
      if (mediaResponseInfo != null) 'mediaResponseInfo': mediaResponseInfo!,
      if (richMedia != null) 'richMedia': richMedia!,
      if (timerCustomEvents != null) 'timerCustomEvents': timerCustomEvents!,
      if (warnedValidationRules != null)
        'warnedValidationRules': warnedValidationRules!,
    };