isMissedCallLog static method
isMissedCallLog returns true if callLog is a missed call for
loggedInUser: one that went unanswered or was cancelled, which
loggedInUser did not start (as callLogLoggedInUser reads it). A
rejected or busy call is never missed. The call logs' icon
(getCallIcon), title colour (getCallStatusColor) and label
(getStatus) all follow it, as the call bubbles follow isMissedCall.
Implementation
static bool isMissedCallLog(CallLog? callLog, User? loggedInUser) =>
callLog != null &&
MissedCallRule.isMissed(
status: callLog.status,
startedByMe: callLogLoggedInUser(callLog, loggedInUser),
);