DataQualityAppSpecification.fromJson constructor

DataQualityAppSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataQualityAppSpecification.fromJson(Map<String, dynamic> json) {
  return DataQualityAppSpecification(
    imageUri: json['ImageUri'] as String,
    containerArguments: (json['ContainerArguments'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    containerEntrypoint: (json['ContainerEntrypoint'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    environment: (json['Environment'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    postAnalyticsProcessorSourceUri:
        json['PostAnalyticsProcessorSourceUri'] as String?,
    recordPreprocessorSourceUri:
        json['RecordPreprocessorSourceUri'] as String?,
  );
}