Circle constructor

Circle(
  1. Vec center,
  2. int radius
)

Implementation

Circle(this.center, this.radius) {
  if (radius < 0) throw ArgumentError("The radius cannot be negative.");
}