utfToLocalDateTime static method
Implementation
static String utfToLocalDateTime(String date) {
if (date.isEmpty) return '';
var dateTime = DateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(date, true);
return formatDateTimeToDate(dateTime.toLocal());
}