timeNames top-level property

List<TimeName> timeNames
getter/setter pair

Create a list of time names in a day

Implementation

List<TimeName> timeNames = [
  TimeName('Early morning', 4, 6),
  TimeName('Morning', 7, 11),
  TimeName('Noon', 12, 12),
  TimeName('Afternoon', 13, 17),
  TimeName('Evening', 18, 20),
  TimeName('Night', 21, 23),
  TimeName('Midnight', 0, 3),
];