TraceSpan constructor

TraceSpan({
  1. required String name,
  2. required String category,
  3. required int startUs,
  4. required int endUs,
  5. required int depth,
  6. required Map<String, String> args,
  7. String? displayLabel,
})

Implementation

TraceSpan({
  required this.name,
  required this.category,
  required this.startUs,
  required this.endUs,
  required this.depth,
  required this.args,
  String? displayLabel,
}) : displayLabel = displayLabel ?? _computeDisplayLabel(name, args);