liveFunctions property

LiveFunctions get liveFunctions

Provides access to the real-time tool calling and function execution module.

Automatically initializes the LiveFunctions instance with the apiKey if it has not been initialized yet.

Implementation

LiveFunctions get liveFunctions {
  if (!LiveFunctions.instance.isInitialized) {
    LiveFunctions.instance.initialize(apiKey);
  }
  return LiveFunctions.instance;
}