DescribeEndpointConfigOutput.fromJson constructor
DescribeEndpointConfigOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeEndpointConfigOutput.fromJson(Map<String, dynamic> json) {
return DescribeEndpointConfigOutput(
creationTime:
nonNullableTimeStampFromJson(json['CreationTime'] as Object),
endpointConfigArn: json['EndpointConfigArn'] as String,
endpointConfigName: json['EndpointConfigName'] as String,
productionVariants: (json['ProductionVariants'] as List)
.whereNotNull()
.map((e) => ProductionVariant.fromJson(e as Map<String, dynamic>))
.toList(),
dataCaptureConfig: json['DataCaptureConfig'] != null
? DataCaptureConfig.fromJson(
json['DataCaptureConfig'] as Map<String, dynamic>)
: null,
kmsKeyId: json['KmsKeyId'] as String?,
);
}