calculateShowRetry method

bool calculateShowRetry(
  1. EventKeyLocationModel _eventKeyModel
)

Implementation

bool calculateShowRetry(EventKeyLocationModel _eventKeyModel) {
  if ((_eventKeyModel.eventNotificationModel!.group != null) &&
      (isActionRequired(_eventKeyModel.eventNotificationModel!)) &&
      (_eventKeyModel.haveResponded)) {
    if (getActionString(_eventKeyModel.eventNotificationModel!,
            _eventKeyModel.haveResponded) ==
        'Pending request') {
      return true;
    }
    return false;
  }
  return false;
}