formatTime method
Formats the date and time (e.g., "2025-04-09 00:11:00").
TimeFormat.yyyyMMddHHmmss provides the pattern 'yyyy-MM-dd HH:mm:ss'.
Implementation
String formatTime() => format(TimeFormat.yyyyMMddHHmmss);
Formats the date and time (e.g., "2025-04-09 00:11:00").
TimeFormat.yyyyMMddHHmmss provides the pattern 'yyyy-MM-dd HH:mm:ss'.
String formatTime() => format(TimeFormat.yyyyMMddHHmmss);