ReportSummaryVmwareEngineFinding.fromJson constructor

ReportSummaryVmwareEngineFinding.fromJson(
  1. Map json_
)

Implementation

ReportSummaryVmwareEngineFinding.fromJson(core.Map json_)
    : this(
        allocatedAssetCount: json_.containsKey('allocatedAssetCount')
            ? json_['allocatedAssetCount'] as core.String
            : null,
        allocatedRegions: json_.containsKey('allocatedRegions')
            ? (json_['allocatedRegions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        nodeAllocations: json_.containsKey('nodeAllocations')
            ? (json_['nodeAllocations'] as core.List)
                .map((value) => ReportSummaryVmwareNodeAllocation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );