isFeatureEnabled method

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

Implementation

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