MBAudienceTagsManager class
The class that manages tags, it saves, delete and retrieve them.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getTagsAsDictionaries(
) → Future< List< Map< ?>String, String> > - Returns the tags saved as dictionaries/maps. @return A future that completes with the list of tags saved, as dictionaries/maps, ready to be sent to the APIs.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeTag(
String tag) → Future< void> - Removes the tag with the provided key and saves the new array of tags. @param tag The key of the tag that needs to be removed.
-
removeTags(
List< String> tags) → Future<void> - Removes a list of tags and saves the new array of tags. @param tags The keys of the tags that need to be removed.
-
setTag(
{required dynamic tag, required dynamic value}) → Future< void> - 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. @param tag The tag. @param value The value of the tag.
-
setTags(
{required Map< String, String> tags}) → Future<void> -
Set multiple tags with a Map, the keys of the map are the tags, the values the values for the corresponding tag.
Tags are converted to
MBAudienceTag
classes and saved with_saveNewTags
. @param tags The map of tags and values. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited