ListDeploymentInstancesOutput.fromJson constructor

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

Implementation

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