copy1 method

  1. @override
DataSet<RadarEntry> copy1 ()
override

Provides an exact copy of the DataSet this method is used on.

@return

Implementation

@override
DataSet<RadarEntry> copy1() {
  List<RadarEntry> entries = List<RadarEntry>();
  for (int i = 0; i < values.length; i++) {
    entries.add(values[i].copy());
  }
  RadarDataSet copied = RadarDataSet(entries, getLabel());
  copy(copied);
  return copied;
}