startTransaction method
ISentrySpan
startTransaction(
- String name,
- String operation, {
- String? description,
- DateTime? startTimestamp,
- bool? bindToScope,
- bool? waitForChildren,
- Duration? autoFinishAfter,
- bool? trimEnd,
- OnTransactionFinish? onFinish,
- Map<
String, dynamic> ? customSamplingContext,
override
Creates a Transaction and returns the instance.
Implementation
@override
ISentrySpan startTransaction(
String name,
String operation, {
String? description,
DateTime? startTimestamp,
bool? bindToScope,
bool? waitForChildren,
Duration? autoFinishAfter,
bool? trimEnd,
OnTransactionFinish? onFinish,
Map<String, dynamic>? customSamplingContext,
}) =>
Sentry.startTransaction(
name,
operation,
description: description,
startTimestamp: startTimestamp,
bindToScope: bindToScope,
waitForChildren: waitForChildren,
autoFinishAfter: autoFinishAfter,
trimEnd: trimEnd,
onFinish: onFinish,
customSamplingContext: customSamplingContext,
);