popContext method
Implementation
TransactionContext? popContext() {
if (_contextStack.isEmpty) return null;
final contextId = _contextStack.removeLast();
final context = _contexts.remove(contextId);
context?.cleanup();
return context;
}
TransactionContext? popContext() {
if (_contextStack.isEmpty) return null;
final contextId = _contextStack.removeLast();
final context = _contexts.remove(contextId);
context?.cleanup();
return context;
}