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