getMemberStateEvent method

Event? getMemberStateEvent(
  1. String userId
)

Implementation

Event? getMemberStateEvent(String userId) {
  final event = room.getState(EventTypes.GroupCallMemberPrefix, userId);
  if (event != null) {
    return room.callMemberStateIsExpired(event, groupCallId) ? null : event;
  }
  return null;
}