DescribeComputeEnvironmentsResponse.fromJson constructor

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

Implementation

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