addTags static method
Add tags.
tags
key-value pairs
callback
is an optional function that will be called with result of adding tags.
Implementation
static Future<void> addTags(Map<String, String> tags,
{Function? callback}) async {
if(!Platform.isAndroid) return;
if (await (_channel.invokeMethod("Pushe.addTags", {"tags": tags}))) {
callback?.call();
}
return;
}