debugDeliverCachedMessage static method

  1. @visibleForTesting
Future<void> debugDeliverCachedMessage(
  1. int messageId,
  2. MessageDetailsListener listener
)

Phase 1 of the two-phase getMessageDetails.

Silent on every miss — offline disabled, no store, nothing cached, an unparseable payload. A single-object read has no empty result to deliver, so the absence of a cached message means this phase simply does not fire and the server phase answers alone. Test-only: the cached phase of getMessageDetails, without the SDK.

Implementation

@visibleForTesting
static Future<void> debugDeliverCachedMessage(
  int messageId,
  MessageDetailsListener listener,
) => _deliverCachedMessage(messageId, listener);