getSubTitle method

String getSubTitle(
  1. EventNotificationModel _event
)

returns event timing details

Implementation

String getSubTitle(EventNotificationModel _event) {
  return _event.event != null
      ? _event.event!.date != null
          ? 'Event on ${dateToString(_event.event!.date!)}'
          : ''
      : '';
}