setPeriod method

Time setPeriod(
  1. DayPeriod period
)

Toggle DayPeriod

Implementation

Time setPeriod(DayPeriod period) {
  return replacing(hour: _changeHourBasedOnAmPm(hour, period));
}