update method

void update({
  1. int? value,
  2. String? msg,
})

update Pass the new value to this method to update the status.

Implementation

void update({int? value, String? msg}) {
  if (value != null) _progress.value = value;
  if (msg != null) _msg.value = msg;
}