toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'parts': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2IntentTrainingPhrasePart>, List<Map<String, dynamic>>>(parts, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentTrainingPhrasePart, Map<String, dynamic>>(value, (value) => value.toMap())),
    'timesAddedCount': ?timesAddedCount,
    'type': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2IntentTrainingPhraseType, String>(type, (value) => value.wireValue),
  };
}