fullDateWith24HourTime static method
Creates a formatter for full date with 24-hour time
Implementation
static String Function(DateTime) fullDateWith24HourTime([
String locale = 'en_US',
]) {
return DateFormatterBuilder()
.locale(locale)
.dateFormat(DateFormatStyle.full)
.timeFormat(TimeFormatStyle.twentyFourHour)
.includeTime()
.build();
}