GoogleCloudConnectorsV1DestinationConfig.fromJson constructor

GoogleCloudConnectorsV1DestinationConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudConnectorsV1DestinationConfig.fromJson(core.Map json_)
    : this(
        destinations: json_.containsKey('destinations')
            ? (json_['destinations'] as core.List)
                .map((value) => GoogleCloudConnectorsV1Destination.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
      );