getTreatmentsByFlagSets abstract method

Future<Map<String, String>> getTreatmentsByFlagSets(
  1. List<String> flagSets, [
  2. Map<String, dynamic> attributes = const {},
  3. EvaluationOptions evaluationOptions = const EvaluationOptions.empty()
])

Convenience method to perform multiple evaluations by flag sets. Returns a Map in which the keys are feature flag names and the values are treatments.

A list of flag sets needs to be specified in flagSets.

Optionally, a Map can be specified with the attributes parameter to take into account when evaluating.

Implementation

Future<Map<String, String>> getTreatmentsByFlagSets(List<String> flagSets,
    [Map<String, dynamic> attributes = const {},
    EvaluationOptions evaluationOptions = const EvaluationOptions.empty()]);