GoogleCloudDialogflowCxV3NluSettings.fromJson constructor

GoogleCloudDialogflowCxV3NluSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3NluSettings.fromJson(core.Map json_)
    : this(
        classificationThreshold: json_.containsKey('classificationThreshold')
            ? (json_['classificationThreshold'] as core.num).toDouble()
            : null,
        modelTrainingMode: json_.containsKey('modelTrainingMode')
            ? json_['modelTrainingMode'] as core.String
            : null,
        modelType: json_.containsKey('modelType')
            ? json_['modelType'] as core.String
            : null,
      );