calculateCircumference static method

double calculateCircumference(
  1. double radius
)

Calculate the circumference of a circle with the given radius.

Implementation

static double calculateCircumference(double radius) {
  return 2 * pi * radius;
}