getCallByUserId method
Implementation
CallSession? getCallByUserId(String userId) {
final value = calls.where((item) => item.remoteUser!.id == userId);
if (value.isNotEmpty) {
return value.first;
}
return null;
}
CallSession? getCallByUserId(String userId) {
final value = calls.where((item) => item.remoteUser!.id == userId);
if (value.isNotEmpty) {
return value.first;
}
return null;
}