MonitoringAppSpecification.fromJson constructor
MonitoringAppSpecification.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MonitoringAppSpecification.fromJson(Map<String, dynamic> json) {
return MonitoringAppSpecification(
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(),
postAnalyticsProcessorSourceUri:
json['PostAnalyticsProcessorSourceUri'] as String?,
recordPreprocessorSourceUri:
json['RecordPreprocessorSourceUri'] as String?,
);
}