LogScope constructor

const LogScope({
  1. required String id,
  2. required String label,
  3. required DateTime startTime,
  4. LogScope? parent,
  5. Map<String, Object?>? metadata,
})

Creates a scope. Prefer LogScope.root or child over calling this directly.

Implementation

const LogScope({
  required this.id,
  required this.label,
  required this.startTime,
  this.parent,
  this.metadata,
});