ListEffectiveDeploymentsResponse.fromJson constructor

ListEffectiveDeploymentsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListEffectiveDeploymentsResponse.fromJson(Map<String, dynamic> json) {
  return ListEffectiveDeploymentsResponse(
    effectiveDeployments: (json['effectiveDeployments'] as List?)
        ?.whereNotNull()
        .map((e) => EffectiveDeployment.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}