isStarredBy method

bool isStarredBy(
  1. String profileId
)

Whether profileId starred this message.

Implementation

bool isStarredBy(String profileId) =>
    profileId.isNotEmpty && starredByProfileIds.contains(profileId);