update method

dynamic update(
  1. dynamic newValue
)

Implementation

update(newValue) {
  setState(() {
    _progress = newValue;
  });
}