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