formatTime method

String formatTime()

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);