setPrice method

dynamic setPrice(
  1. double value
)

Implementation

setPrice(double value) {
  _price = value;
}