getTreatmentsWithConfigByFlagSet method
Future<Map<String, SplitResult> >
getTreatmentsWithConfigByFlagSet(
- String flagSet, [
- Map<
String, dynamic> attributes = const {}, - EvaluationOptions evaluationOptions = const EvaluationOptions.empty()
override
Convenience method to perform multiple evaluations by flag set. Returns a Map in which the keys are feature flag names and the values are SplitResult objects.
A flag set needs to be specified in flagSet.
Optionally, a Map can be specified with the attributes parameter to
take into account when evaluating.
Implementation
@override
Future<Map<String, SplitResult>> getTreatmentsWithConfigByFlagSet(
String flagSet,
[Map<String, dynamic> attributes = const {},
EvaluationOptions evaluationOptions = const EvaluationOptions.empty()]) {
return _platform.getTreatmentsWithConfigByFlagSet(
matchingKey: _matchingKey,
bucketingKey: _bucketingKey,
flagSet: flagSet,
attributes: attributes,
evaluationOptions: evaluationOptions);
}