DescribeDomainAutoTunesResponse.fromJson constructor

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

Implementation

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