setFlagInResultCache method
- FeatureFlag flag,
- Duration ttl
Sets a flag in the result cache.
Implementation
Future<void> setFlagInResultCache(FeatureFlag flag, Duration ttl) async {
await _module.channel.invokeMethod(
"featureFlagManager#resultCacheSetFlag",
{
"flag": flag.toJSON(),
"ttl": ttl.inMilliseconds,
},
);
}