startTransactionWithContext method

  1. @override
ISentrySpan startTransactionWithContext(
  1. SentryTransactionContext transactionContext, {
  2. Map<String, dynamic>? customSamplingContext,
  3. DateTime? startTimestamp,
  4. bool? bindToScope,
  5. bool? waitForChildren,
  6. Duration? autoFinishAfter,
  7. bool? trimEnd,
  8. 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,
    );