spanNames property

List<String> get spanNames

All exported span names, in export order. Handy in expect assertions when you want to check the trace shape.

Implementation

List<String> get spanNames => _spans.map((s) => s.name).toList();