ConformancePackDetail.fromJson constructor
ConformancePackDetail.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConformancePackDetail.fromJson(Map<String, dynamic> json) {
return ConformancePackDetail(
conformancePackArn: json['ConformancePackArn'] as String,
conformancePackId: json['ConformancePackId'] as String,
conformancePackName: json['ConformancePackName'] as String,
conformancePackInputParameters: (json['ConformancePackInputParameters']
as List?)
?.whereNotNull()
.map((e) =>
ConformancePackInputParameter.fromJson(e as Map<String, dynamic>))
.toList(),
createdBy: json['CreatedBy'] as String?,
deliveryS3Bucket: json['DeliveryS3Bucket'] as String?,
deliveryS3KeyPrefix: json['DeliveryS3KeyPrefix'] as String?,
lastUpdateRequestedTime:
timeStampFromJson(json['LastUpdateRequestedTime']),
);
}