DescribeVoicesOutput.fromJson constructor
Implementation
factory DescribeVoicesOutput.fromJson(Map<String, dynamic> json) {
return DescribeVoicesOutput(
nextToken: json['NextToken'] as String?,
voices: (json['Voices'] as List?)
?.whereNotNull()
.map((e) => Voice.fromJson(e as Map<String, dynamic>))
.toList(),
);
}