shape property

double get shape

Returns the shape value based on the bubble shape type.

Implementation

double get shape {
  switch (this) {
    case BubbleShape.circular:
      return 50;
    case BubbleShape.square:
      return 10;
  }
}