ListDeploymentGroupsOutput.fromJson constructor

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

Implementation

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