toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'chartType': chartType,
'dataSets': pulumi.Input.mapInputValue<List<PieChartDataSetResponse>, List<Map<String, dynamic>>>(dataSets, (value) => pulumi.Input.encodeList<PieChartDataSetResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
'showLabels': showLabels,
};
}