getSemiTitle method

String? getSemiTitle(
  1. EventNotificationModel _event,
  2. bool _haveResponded
)

returns a semi-title for the event based on the provided EventNotificationModel and whether the user has responded or not

Implementation

String? getSemiTitle(EventNotificationModel _event, bool _haveResponded) {
  return (isActionRequired(_event))
      ? getActionString(_event, _haveResponded)
      : null;
}