isLoading static method

bool isLoading(
  1. Set<WidgetEvent> events
)

Checker for whether events considers WidgetEvent.loading to be active.

Implementation

static bool isLoading(Set<WidgetEvent> events) {
  return events.contains(loading);
}