OSPolicyResourceRepositoryResource.fromJson constructor

OSPolicyResourceRepositoryResource.fromJson(
  1. Map json_
)

Implementation

OSPolicyResourceRepositoryResource.fromJson(core.Map json_)
    : this(
        apt: json_.containsKey('apt')
            ? OSPolicyResourceRepositoryResourceAptRepository.fromJson(
                json_['apt'] as core.Map<core.String, core.dynamic>)
            : null,
        goo: json_.containsKey('goo')
            ? OSPolicyResourceRepositoryResourceGooRepository.fromJson(
                json_['goo'] as core.Map<core.String, core.dynamic>)
            : null,
        yum: json_.containsKey('yum')
            ? OSPolicyResourceRepositoryResourceYumRepository.fromJson(
                json_['yum'] as core.Map<core.String, core.dynamic>)
            : null,
        zypper: json_.containsKey('zypper')
            ? OSPolicyResourceRepositoryResourceZypperRepository.fromJson(
                json_['zypper'] as core.Map<core.String, core.dynamic>)
            : null,
      );