ListDeploymentsResponse.fromJson constructor
Implementation
factory ListDeploymentsResponse.fromJson(Map<String, dynamic> json) {
return ListDeploymentsResponse(
deployments: (json['deployments'] as List?)
?.whereNotNull()
.map((e) => Deployment.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}