sphere property
double
get
sphere
Returns the surface area of a sphere with this number as radius.
Example: 12.sphere -> 7,718.4
Implementation
double get sphere => 4 * pi * square;
Returns the surface area of a sphere with this number as radius.
Example: 12.sphere -> 7,718.4
double get sphere => 4 * pi * square;