isTaskInProgress method Null safety

bool isTaskInProgress(
  1. dynamic busyTaskKey
)

Checks if the view model is busy working on a specific task.

See doAsync for busyTaskKey usage.

Implementation

bool isTaskInProgress(dynamic busyTaskKey) =>
    _busyTaskKeys.contains(busyTaskKey);