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