GoogleCloudDialogflowV2ListVersionsResponse.fromJson constructor

GoogleCloudDialogflowV2ListVersionsResponse.fromJson(
  1. Map json_
)

Implementation

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