toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioExportSettings != null)
        'audioExportSettings': audioExportSettings!,
      if (deidentifyTemplate != null)
        'deidentifyTemplate': deidentifyTemplate!,
      if (displayName != null) 'displayName': displayName!,
      if (insightsExportSettings != null)
        'insightsExportSettings': insightsExportSettings!,
      if (inspectTemplate != null) 'inspectTemplate': inspectTemplate!,
      if (name != null) 'name': name!,
      if (purgeDataTypes != null) 'purgeDataTypes': purgeDataTypes!,
      if (redactionScope != null) 'redactionScope': redactionScope!,
      if (redactionStrategy != null) 'redactionStrategy': redactionStrategy!,
      if (retentionStrategy != null) 'retentionStrategy': retentionStrategy!,
      if (retentionWindowDays != null)
        'retentionWindowDays': retentionWindowDays!,
    };