getDatumDetails method
Returns a list of datum details from selection model of type
.
Implementation
@override
List<DatumDetails<D>> getDatumDetails(SelectionModelType type) {
final entries = <DatumDetails<D>>[];
for (final seriesDatum in getSelectionModel(type).selectedDatum) {
final rendererId = seriesDatum.series.getAttr(rendererIdKey);
final renderer = getSeriesRenderer(rendererId);
assert(renderer is SunburstArcRenderer<D>);
final details = (renderer as SunburstArcRenderer<D>)
.getExpandedDatumDetails(seriesDatum);
entries.add(details);
}
return entries;
}