Disk.fromJson constructor
Disk.fromJson(
- Map _json
Implementation
Disk.fromJson(core.Map _json)
: this(
name: _json.containsKey('name') ? _json['name'] as core.String : null,
sizeGb:
_json.containsKey('sizeGb') ? _json['sizeGb'] as core.int : null,
sourceImage: _json.containsKey('sourceImage')
? _json['sourceImage'] as core.String
: null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
);