formattedDateRange method
Retorna intervalo formatado com datas inicial e final separadas por separador
Implementation
String formattedDateRange([String separadador = ' à ']) {
if (intervaloDeUmDia) {
return this.start.formattedDate();
} else {
return EsigUtils.textoSeparado(
this.start.formattedDate(),
this.end.formattedDate(),
separadador,
);
}
}