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