GoogleCloudDialogflowCxV3ListEnvironmentsResponse.fromJson constructor

GoogleCloudDialogflowCxV3ListEnvironmentsResponse.fromJson(
  1. Map json_
)

Implementation

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