setTag abstract method

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

Tags this span with the current key-value pair.

Implementation

void setTag(String key, dynamic value);