getEndDate method
Implementation
DateTime getEndDate() {
if (data['UNTIL'] != null) {
DateTime fd = DateTime.parse(data['UNTIL'].toString());
// return Intl.withLocale(Intl.getCurrentLocale(), () => new DateFormat("yyyy-MM-dd hh:mm").format(fd));
return fd;
}
return DateTime.now();
}