toDateTimeWithoutComma property
String
get
toDateTimeWithoutComma
Formats date and time as '24 February 2024 10:30 PM'.
Example:
final date = DateTime(2024, 2, 24, 22, 30);
final formatted = date.toDateTimeWithoutComma;
// returns: '24 February 2024 10:30 PM'
Implementation
String get toDateTimeWithoutComma => '$toDdMmmmYyyy $toTimeAmPm';