processFCPListItemSelectedChannel method

void processFCPListItemSelectedChannel(
  1. String elementId
)

Implementation

void processFCPListItemSelectedChannel(String elementId) {
  CPListItem? listItem = _carplayHelper.findCPListItem(
    templates: templateHistory,
    elementId: elementId,
  );
  if (listItem != null) {
    listItem.onPress!(
      () => reactToNativeModule(
        FCPChannelTypes.onFCPListItemSelectedComplete,
        listItem.uniqueId,
      ),
      listItem,
    );
  }
}