toMap method

Map<String, dynamic> toMap()

Implementation

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