SapDiscoveryWorkloadProperties.fromJson constructor

SapDiscoveryWorkloadProperties.fromJson(
  1. Map json_
)

Implementation

SapDiscoveryWorkloadProperties.fromJson(core.Map json_)
    : this(
        productVersions: json_.containsKey('productVersions')
            ? (json_['productVersions'] as core.List)
                .map((value) =>
                    SapDiscoveryWorkloadPropertiesProductVersion.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        softwareComponentVersions: json_
                .containsKey('softwareComponentVersions')
            ? (json_['softwareComponentVersions'] as core.List)
                .map((value) =>
                    SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );