Figure constructor

Figure(
  1. String value
)

Implementation

Figure(this.value) {
    _validateFigureExceptionB();
    _validateFigureExceptionA();
}