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