ComputeEngineShapeDescriptor.fromJson constructor

ComputeEngineShapeDescriptor.fromJson(
  1. Map json_
)

Implementation

ComputeEngineShapeDescriptor.fromJson(core.Map json_)
    : this(
        logicalCoreCount: json_['logicalCoreCount'] as core.int?,
        machineType: json_['machineType'] as core.String?,
        memoryMb: json_['memoryMb'] as core.int?,
        physicalCoreCount: json_['physicalCoreCount'] as core.int?,
        series: json_['series'] as core.String?,
        storage: (json_['storage'] as core.List?)
            ?.map((value) => ComputeStorageDescriptor.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );