getCallByUuid method

Call? getCallByUuid(
  1. String uuid
)

retrievs a call by its UUID if it exists in the current calls

Implementation

Call? getCallByUuid(String uuid) {
  try {
    return _calls.firstWhere(
        (element) => element.uuid.toLowerCase() == uuid.toLowerCase());
  } catch (er) {
    return null;
  }
}