GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson constructor

GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson(core.Map json_)
    : this(
        name: json_['name'] as core.String?,
        parts: (json_['parts'] as core.List?)
            ?.map((value) =>
                GoogleCloudDialogflowV2IntentTrainingPhrasePart.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        timesAddedCount: json_['timesAddedCount'] as core.int?,
        type: json_['type'] as core.String?,
      );