WeekGenerator constructor

const WeekGenerator({
  1. int weekStart = DateTime.monday,
})

A class that implements a generator of a period type of a week.

Implementation

const WeekGenerator({this.weekStart = DateTime.monday});