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