PscConfig.fromJson constructor

PscConfig.fromJson(
  1. Map json_
)

Implementation

PscConfig.fromJson(core.Map json_)
    : this(
        allowedVpcs: (json_['allowedVpcs'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        lookerServiceAttachmentUri:
            json_['lookerServiceAttachmentUri'] as core.String?,
        serviceAttachments: (json_['serviceAttachments'] as core.List?)
            ?.map((value) => ServiceAttachment.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );