ReportSummaryComputeEngineFinding.fromJson constructor

ReportSummaryComputeEngineFinding.fromJson(
  1. Map json_
)

Implementation

ReportSummaryComputeEngineFinding.fromJson(core.Map json_)
  : this(
      allocatedAssetCount: json_['allocatedAssetCount'] as core.String?,
      allocatedDiskTypes:
          (json_['allocatedDiskTypes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      allocatedRegions:
          (json_['allocatedRegions'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      machineSeriesAllocations:
          (json_['machineSeriesAllocations'] as core.List?)
              ?.map(
                (value) => ReportSummaryMachineSeriesAllocation.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );