toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'buttons': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse>, List<Map<String, dynamic>>>(buttons, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'columnProperties': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse>, List<Map<String, dynamic>>>(columnProperties, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'image': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2IntentMessageImageResponse, Map<String, dynamic>>(image, (value) => value.toMap()),
    'rows': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2IntentMessageTableCardRowResponse>, List<Map<String, dynamic>>>(rows, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentMessageTableCardRowResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'subtitle': subtitle,
    'title': title,
  };
}