startTransactionWithContext static method
ISentrySpan
startTransactionWithContext(
- SentryTransactionContext transactionContext, {
- Map<
String, dynamic> ? customSamplingContext, - DateTime? startTimestamp,
- bool? bindToScope,
- bool? waitForChildren,
- Duration? autoFinishAfter,
- bool? trimEnd,
- OnTransactionFinish? onFinish,
Creates a Transaction and returns the instance.
Implementation
static ISentrySpan startTransactionWithContext(
SentryTransactionContext transactionContext, {
Map<String, dynamic>? customSamplingContext,
DateTime? startTimestamp,
bool? bindToScope,
bool? waitForChildren,
Duration? autoFinishAfter,
bool? trimEnd,
OnTransactionFinish? onFinish,
}) =>
_hub.startTransactionWithContext(
transactionContext,
customSamplingContext: customSamplingContext,
startTimestamp: startTimestamp,
bindToScope: bindToScope,
waitForChildren: waitForChildren,
autoFinishAfter: autoFinishAfter,
trimEnd: trimEnd,
onFinish: onFinish,
);