setGlobalEventProperty static method

Future<void> setGlobalEventProperty(
  1. String key,
  2. String value,
  3. bool immutable
)

GLOBAL EVENT PROPERTIES Extra property can be attached to every event, this property is called global event property. Global event property can be set by calling

Implementation

static Future<void> setGlobalEventProperty(
    String key, String value, bool immutable) async {
  await _channel.invokeMethod('setGlobalEventProperty',
      {"key": key, "value": value, "immutable": immutable});
}