setAttribute method

  1. @override
void setAttribute(
  1. String key,
  2. SentryAttribute value
)
override

Sets an attribute on this span, replacing any existing attribute with the same key.

Implementation

@override
void setAttribute(String key, SentryAttribute value) {
  _attributes[key] = value;
}