debugDeliverCachedConversation static method

  1. @visibleForTesting
Future<void> debugDeliverCachedConversation(
  1. String conversationWith,
  2. String conversationType,
  3. ConversationDetailsListener listener
)

Serves the cached conversation for the two-phase getConversation.

Silent when the conversation is not cached: ยง7's "better empty than wrong" means an absent object is reported by NOT firing, never by delivering a partial or guessed one. Failures here are swallowed so the server phase still runs. Test-only: the cached phase of getConversation, without the SDK.

Implementation

@visibleForTesting
static Future<void> debugDeliverCachedConversation(
  String conversationWith,
  String conversationType,
  ConversationDetailsListener listener,
) => _deliverCachedConversation(conversationWith, conversationType, listener);