retryConfig static method
- 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();
}