getTreatments abstract method

Future<Map<String, String>> getTreatments(
  1. List<String> featureFlagNames, [
  2. Map<String, dynamic> attributes = const {}
])

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

A list of feature flag names need to be specified in featureFlagNames.

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

Implementation

Future<Map<String, String>> getTreatments(List<String> featureFlagNames,
    [Map<String, dynamic> attributes = const {}]);