GetDistributionsResult.fromJson constructor
Implementation
factory GetDistributionsResult.fromJson(Map<String, dynamic> json) {
return GetDistributionsResult(
distributions: (json['distributions'] as List?)
?.whereNotNull()
.map((e) => LightsailDistribution.fromJson(e as Map<String, dynamic>))
.toList(),
nextPageToken: json['nextPageToken'] as String?,
);
}