child method
Creates a child scope under this scope.
Implementation
LogScope child({
required String id,
required String label,
Map<String, Object?>? metadata,
}) => LogScope(
id: id,
label: label,
startTime: DateTime.now(),
parent: this,
metadata: metadata,
);