toStringValue method

String toStringValue()

Implementation

String toStringValue() {
  switch (this) {
    case GeometryType.oval: return 'oval';
    case GeometryType.rectangle: return 'rectangle';
    case GeometryType.circle: return 'circle';
    case GeometryType.square: return 'square';
  }
}