fitsGenerator method

bool fitsGenerator(
  1. Period period
)

Returns true if the given period fits the generator.

Implementation

bool fitsGenerator(Period period) {
  final newPeriod = of(period.start);
  return newPeriod == period;
}