getTreatmentsByFlagSet abstract method

Future<Map<String, String>> getTreatmentsByFlagSet(
  1. String flagSet, [
  2. Map<String, dynamic> attributes = const {}
])

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

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

Future<Map<String, String>> getTreatmentsByFlagSet(String flagSet,
    [Map<String, dynamic> attributes = const {}]);