TestEnvironmentCatalog.fromJson constructor

TestEnvironmentCatalog.fromJson(
  1. Map _json
)

Implementation

TestEnvironmentCatalog.fromJson(core.Map _json)
    : this(
        androidDeviceCatalog: _json.containsKey('androidDeviceCatalog')
            ? AndroidDeviceCatalog.fromJson(_json['androidDeviceCatalog']
                as core.Map<core.String, core.dynamic>)
            : null,
        deviceIpBlockCatalog: _json.containsKey('deviceIpBlockCatalog')
            ? DeviceIpBlockCatalog.fromJson(_json['deviceIpBlockCatalog']
                as core.Map<core.String, core.dynamic>)
            : null,
        iosDeviceCatalog: _json.containsKey('iosDeviceCatalog')
            ? IosDeviceCatalog.fromJson(_json['iosDeviceCatalog']
                as core.Map<core.String, core.dynamic>)
            : null,
        networkConfigurationCatalog:
            _json.containsKey('networkConfigurationCatalog')
                ? NetworkConfigurationCatalog.fromJson(
                    _json['networkConfigurationCatalog']
                        as core.Map<core.String, core.dynamic>)
                : null,
        softwareCatalog: _json.containsKey('softwareCatalog')
            ? ProvidedSoftwareCatalog.fromJson(_json['softwareCatalog']
                as core.Map<core.String, core.dynamic>)
            : null,
      );