volume method

  1. @override
double volume()
override

Get the volume of this shape

Implementation

@override
double volume() {
  return double.infinity;
}