OSPolicyResourceRepositoryResourceYumRepository.fromJson constructor

OSPolicyResourceRepositoryResourceYumRepository.fromJson(
  1. Map json_
)

Implementation

OSPolicyResourceRepositoryResourceYumRepository.fromJson(core.Map json_)
    : this(
        baseUrl: json_.containsKey('baseUrl')
            ? json_['baseUrl'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        gpgKeys: json_.containsKey('gpgKeys')
            ? (json_['gpgKeys'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
      );