PscInstanceConfig.fromJson constructor

PscInstanceConfig.fromJson(
  1. Map json_
)

Implementation

PscInstanceConfig.fromJson(core.Map json_)
    : this(
        allowedConsumerProjects: json_.containsKey('allowedConsumerProjects')
            ? (json_['allowedConsumerProjects'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        pscDnsName: json_.containsKey('pscDnsName')
            ? json_['pscDnsName'] as core.String
            : null,
        serviceAttachmentLink: json_.containsKey('serviceAttachmentLink')
            ? json_['serviceAttachmentLink'] as core.String
            : null,
      );