setBusy method Null safety
- {dynamic busyTaskKey}
Sets the busy status to true
busyTaskKey
can be optionally set to help identify why the view model is busy. This can then
be accessed by the UI to react differently depending on what the view model is doing.
Implementation
void setBusy({dynamic busyTaskKey}) {
setBusyStatus(isBusy: true, busyTaskKey: busyTaskKey);
}