calculateCircularArea static method

double calculateCircularArea(
  1. double radius
)

Calculate the area of a circle with the given radius.

Implementation

static double calculateCircularArea(double radius) {
  return pi * (radius * radius);
}