code: def selected_data(self):
      if not self.deck_widget.selected_data:
          return None
      return self.deck_widget.selected_data
  
file_path: deck.gl/bindings/pydeck/pydeck/bindings/deck.py
imports: import os
  import sys
  from .json_tools import JSONMixin
  from .layer import Layer
  from ..io.html import deck_to_html
  from ..settings import settings
  from .view import View
  from .view_state import ViewState
  from .base_map_provider import BaseMapProvider
  from .map_styles import DARK, get_from_map_identifier
label_desc: Use image node_id 2 for calling the Deck obj's underlying member method code with example usage: obj.selected_data() and returns: self, None