toJSON method

List<num> toJSON()

Implementation

List<num> toJSON() {
  var data = center.toJSON();
  data.add(radius);

  return data;
}