bucketVariations method
Implementation
Campaigns bucketVariations(String visitorId, Bucketing scriptBucket,
Map<String, dynamic> context, Map<String, dynamic> assignHistory) {
// Check the panic mode
if (scriptBucket.panic == true) {
return Campaigns(visitorId, true, [], scriptBucket.accountSettings);
}
// Check the targeting and filter the variation he can run
Campaigns result =
processBucketing(visitorId, scriptBucket, context, assignHistory);
return result;
}