PieChartModel constructor

PieChartModel(
  1. WidgetModel parent,
  2. String? id, {
  3. dynamic type,
  4. dynamic showlegend,
  5. dynamic horizontal,
  6. dynamic centerRadius,
  7. dynamic spacing,
  8. dynamic animated,
  9. dynamic selected,
  10. dynamic legendsize,
})

Implementation

PieChartModel(
  super.parent,
  super.id, {
  dynamic type,
  dynamic showlegend,
  dynamic horizontal,
  dynamic centerRadius,
  dynamic spacing,
  dynamic animated,
  dynamic selected,
  dynamic legendsize,
}) {
  this.selected = selected;
  this.centerRadius = centerRadius;
  this.spacing = spacing;
  this.animated = animated;
  this.horizontal = horizontal;
  this.showlegend = showlegend;
  this.legendsize = legendsize;
  this.type = type?.trim()?.toLowerCase();

  busy = false;
}