getTreatmentsByFlagSet method
Implementation
@override
Future<Map<String, String>> getTreatmentsByFlagSet(
{required String matchingKey,
required String? bucketingKey,
required String flagSet,
Map<String, dynamic> attributes = const {}}) async {
Map? treatments = await methodChannel.invokeMapMethod(
'getTreatmentsByFlagSet',
_buildParameters(matchingKey, bucketingKey,
{'flagSet': flagSet, 'attributes': attributes}));
return treatments
?.map((key, value) => MapEntry<String, String>(key, value)) ??
{};
}