GoogleCloudApigeeV1ListEndpointAttachmentsResponse.fromJson constructor

GoogleCloudApigeeV1ListEndpointAttachmentsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ListEndpointAttachmentsResponse.fromJson(core.Map json_)
    : this(
        endpointAttachments: json_.containsKey('endpointAttachments')
            ? (json_['endpointAttachments'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1EndpointAttachment.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );