GoogleCloudDialogflowV2SearchAgentsResponse.fromJson constructor

GoogleCloudDialogflowV2SearchAgentsResponse.fromJson(
  1. Map json_
)

Implementation

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