Circle constructor

Circle(
  1. Vector2 center,
  2. double radius
)

Implementation

Circle(Vector2 center, double radius)
    : assert(radius >= 0, 'Radius cannot be negative: $radius'),
      _center = center.clone(),
      _radius = radius;