ListDeploymentTargetsOutput.fromJson constructor

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

Implementation

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