LocalDisk.fromJson constructor

LocalDisk.fromJson(
  1. Map json_
)

Implementation

LocalDisk.fromJson(core.Map json_)
    : this(
        diskCount: json_.containsKey('diskCount')
            ? json_['diskCount'] as core.int
            : null,
        diskSizeGb: json_.containsKey('diskSizeGb')
            ? json_['diskSizeGb'] as core.int
            : null,
        diskType: json_.containsKey('diskType')
            ? json_['diskType'] as core.String
            : null,
      );