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 (richMedia != null) 'richMedia': richMedia!,
      if (timerCustomEvents != null) 'timerCustomEvents': timerCustomEvents!,
      if (warnedValidationRules != null)
        'warnedValidationRules': warnedValidationRules!,
    };