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