toDateAndTimeWithSlashes property
String
get
toDateAndTimeWithSlashes
Formats date and time as '24/02/2026 12:03 AM'.
Example:
final date = DateTime(2026, 2, 24, 0, 3);
final formatted = date.toDateAndTimeWithSlashes;
// returns: '24/02/2026 12:03 AM'
Implementation
String get toDateAndTimeWithSlashes => '$toDateWithSlashes $toTimeAmPm';