GoogleCloudDialogflowV2IntentTrainingPhrasePart.fromJson constructor

GoogleCloudDialogflowV2IntentTrainingPhrasePart.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentTrainingPhrasePart.fromJson(core.Map json_)
    : this(
        alias:
            json_.containsKey('alias') ? json_['alias'] as core.String : null,
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
        userDefined: json_.containsKey('userDefined')
            ? json_['userDefined'] as core.bool
            : null,
      );