setTag static method

Future<void> setTag({
  1. required dynamic tag,
  2. required dynamic value,
})

Set the tag with a key and a value, if a tag with that key already exists its value is replaced by the new value. After setting the new tag the new audience data are sent to the server. @param tag The tag. @param value The value of the tag.

Implementation

static Future<void> setTag({
  required tag,
  required value,
}) async {
  MBPluginsManager.tagChanged(tag, value: value);
  return MBAudienceManager.shared.setTag(
    tag: tag,
    value: value,
  );
}