DescribeContainerInstancesResponse.fromJson constructor
DescribeContainerInstancesResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeContainerInstancesResponse.fromJson(
Map<String, dynamic> json) {
return DescribeContainerInstancesResponse(
containerInstances: (json['containerInstances'] as List?)
?.whereNotNull()
.map((e) => ContainerInstance.fromJson(e as Map<String, dynamic>))
.toList(),
failures: (json['failures'] as List?)
?.whereNotNull()
.map((e) => Failure.fromJson(e as Map<String, dynamic>))
.toList(),
);
}