isCallEndExist static method

dynamic isCallEndExist(
  1. CallingMessage callMsg
)

Implementation

static isCallEndExist(CallingMessage callMsg) {
  int? callEnd = callMsg.callEnd;
  int? actionType = callMsg.actionType;
  if (actionType == 2) return false;
  return callEnd == null
      ? false
      : callEnd > 0
      ? true
      : false;
}