addGlobalContexts static method
Adds a global context with the given tag to be attached to all tracked events for the tracker namespace.
Implementation
static Future<void> addGlobalContexts(String tag, SelfDescribing context,
{required String tracker}) async {
await _channel.invokeMethod('addGlobalContexts', {
'tracker': tracker,
'tag': tag,
'context': context.toMap(),
});
}