isOwner method
Implementation
bool isOwner() {
if (getUserState().selfInfo.userId.isEmpty) {
return false;
}
return getRoomSate().ownerInfo.userId == getUserState().selfInfo.userId;
}
bool isOwner() {
if (getUserState().selfInfo.userId.isEmpty) {
return false;
}
return getRoomSate().ownerInfo.userId == getUserState().selfInfo.userId;
}