Disk.fromJson constructor

Disk.fromJson(
  1. Map json_
)

Implementation

Disk.fromJson(core.Map json_)
    : this(
        lun: json_.containsKey('lun') ? json_['lun'] as core.int : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sizeGb:
            json_.containsKey('sizeGb') ? json_['sizeGb'] as core.int : null,
      );