waitRefresh method
- Duration? maxTime,
Suspends until the feature flag listing is up to date, or maxTime
elapses. Waits indefinitely if maxTime is not provided.
Implementation
Future<void> waitRefresh({Duration? maxTime}) async {
await _module.channel.invokeMethod(
"featureFlagManager#waitRefresh",
maxTime == null
? <String, Object?>{}
: {"maxTimeMillis": maxTime.inMilliseconds},
);
}