TransactionContextManager class
Transaction context manager
Constructors
- TransactionContextManager.new()
-
factory
Properties
- currentContext → TransactionContext?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cleanup(
) → void -
clearContext(
String transactionId) → void -
createChildContext(
String transactionId, Map< String, dynamic> attributes) → TransactionContext -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popContext(
) → TransactionContext? -
pushContext(
TransactionContext context, {Duration? timeout}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
withContext<
T> (String transactionId, Map< String, dynamic> attributes, Future<T> operation()) → Future<T> - Run code with a specific transaction context
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited