addGlobalContext static method

void addGlobalContext(
  1. String key,
  2. dynamic value
)

Add custom context that will be included in all future reports

Implementation

static void addGlobalContext(String key, dynamic value) {
  _globalContext[key] = value;
}