refreshFlags method
Forces a fresh fetch of feature flags from the remote source.
Implementation
Future<void> refreshFlags() async {
state = const AsyncValue.loading();
state = await AsyncValue.guard(() {
return ref
.read(featureFlagRepositoryProvider)
.getAllFlags(forceRefresh: true);
});
}