wasPresentedInCurrentEmit method

bool wasPresentedInCurrentEmit(
  1. String tipId
)

Whether tipId has already been presented during the current emit call. Useful inside a tip's shouldShow to avoid piling tips on top of one another within a single trigger.

Implementation

bool wasPresentedInCurrentEmit(String tipId) =>
    _presentedThisEmit.contains(tipId);