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