update method

void update({
  1. required double? value,
  2. String? message,
})

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

Implementation

void update({required double? value, String? message}) {
  _progress.value = value;
  if (message != null) _message.value = message;
}