# getConversationId method

String? getConversationId()

Return the conversation ID for the current underlying scope, if any.

The conversation ID identifies the current scope context and is typically used for:

- Debugging and logging
- Scope identification in distributed systems
- Correlation of scope-related operations
- Transaction management

Returns a unique identifier for the current scope context, or null if the scope doesn't support conversation IDs

Example:

    final conversationId = scope.getConversationId();
    if (conversationId != null) {
      print('Current scope conversation: $conversationId');
      logger.info('Operation in scope: $conversationId');
    }

    // Use in distributed tracing
    tracer.setScopeContext(conversationId);

## Implementation

    String? getConversationId() => null;