ReportSummarySoleTenantFinding.fromJson constructor

ReportSummarySoleTenantFinding.fromJson(
  1. Map json_
)

Implementation

ReportSummarySoleTenantFinding.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) =>
                    ReportSummarySoleTenantNodeAllocation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );