GoogleCloudDialogflowV2IntentParameter.fromJson constructor

GoogleCloudDialogflowV2IntentParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentParameter.fromJson(core.Map json_)
  : this(
      defaultValue: json_['defaultValue'] as core.String?,
      displayName: json_['displayName'] as core.String?,
      entityTypeDisplayName: json_['entityTypeDisplayName'] as core.String?,
      isList: json_['isList'] as core.bool?,
      mandatory: json_['mandatory'] as core.bool?,
      name: json_['name'] as core.String?,
      prompts:
          (json_['prompts'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      value: json_['value'] as core.String?,
    );