DisksScopedList.fromJson constructor
DisksScopedList.fromJson(
- Map json_
Implementation
DisksScopedList.fromJson(core.Map json_)
: this(
disks: json_.containsKey('disks')
? (json_['disks'] as core.List)
.map((value) => Disk.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
warning: json_.containsKey('warning')
? DisksScopedListWarning.fromJson(
json_['warning'] as core.Map<core.String, core.dynamic>)
: null,
);