GoogleCloudDialogflowCxV3IntentTrainingPhrase.fromJson constructor

GoogleCloudDialogflowCxV3IntentTrainingPhrase.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3IntentTrainingPhrase.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        parts: json_.containsKey('parts')
            ? (json_['parts'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3IntentTrainingPhrasePart
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        repeatCount: json_.containsKey('repeatCount')
            ? json_['repeatCount'] as core.int
            : null,
      );