getVariation method

Future<String?> getVariation(
  1. String featureKey,
  2. dynamic userID,
  3. Map<String, dynamic> attributes
)

Implementation

Future<String?> getVariation(
  String featureKey,
  userID,
  Map<String, dynamic> attributes,
) async {
  final variation =
      await _channel.invokeMethod('getVariation', <String, dynamic>{
    'feature_key': featureKey,
    'user_id': userID,
    'attributes': attributes,
  });
  return variation;
}