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