getP2PToUID method
Gets the UID of the other participant in a P2P call.
Returns empty string if no other participant is found.
Implementation
String getP2PToUID() {
if (uidList.isEmpty) {
return "";
}
for (var uid in uidList) {
if (uid != loginUID) {
return uid;
}
}
return creatorUID;
}