UpdateContainerInstancesStateResponse.fromJson constructor
UpdateContainerInstancesStateResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory UpdateContainerInstancesStateResponse.fromJson(
Map<String, dynamic> json) {
return UpdateContainerInstancesStateResponse(
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(),
);
}