am top-level constant
String
const am
Outputs if hour is AM or PM
Example: print(formatDate(DateTime(1989, 02, 1, 5), am)); // => AM print(formatDate(DateTime(1989, 02, 1, 15), am)); // => PM
Implementation
const String am = 'am';