utfToLocalDateFormat static method
CONVERTE UTC PARA DATA LOCAL E FORMATA 29/09/2021
Implementation
static String utfToLocalDateFormat(String date) {
if (date.isEmpty) return '';
var dateTime = DateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(date, true);
return format(dateTime.toLocal());
}