setVisitorAttribute method

  1. @override
Future setVisitorAttribute(
  1. String key,
  2. String value
)
override

There are various other properties you may want to set. These properties are surfaced as survey targeting options in the UserLeap dashboard and allow you to send surveys to the right user segments.

Implementation

@override
Future setVisitorAttribute(String key, String value) async {
  return await _channel.invokeMethod(
      Channels.SET_VISITOR_ATTRIBUTE, {'key': key, 'value': value});
}