retryConfig static method

void retryConfig(
  1. BuildContext context
)

Retries fetching app configuration after an error.

Implementation

static void retryConfig(BuildContext context) {
  final scope = context.getInheritedWidgetOfExactType<CupThreadThemeScope>() ??
      context.dependOnInheritedWidgetOfExactType<CupThreadThemeScope>();
  scope?.retryConfig?.call();
}