DiskPartition.fromJson constructor
DiskPartition.fromJson(
- Map json_
Implementation
DiskPartition.fromJson(core.Map json_)
: this(
capacityBytes: json_.containsKey('capacityBytes')
? json_['capacityBytes'] as core.String
: null,
fileSystem: json_.containsKey('fileSystem')
? json_['fileSystem'] as core.String
: null,
freeBytes: json_.containsKey('freeBytes')
? json_['freeBytes'] as core.String
: null,
mountPoint: json_.containsKey('mountPoint')
? json_['mountPoint'] as core.String
: null,
subPartitions: json_.containsKey('subPartitions')
? DiskPartitionList.fromJson(
json_['subPartitions'] as core.Map<core.String, core.dynamic>)
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
uuid: json_.containsKey('uuid') ? json_['uuid'] as core.String : null,
);