isOutgoing method

bool isOutgoing({
  1. String? userId,
})

Implementation

bool isOutgoing({String? userId}) => senderId == (userId ?? U.user.id);