startOfLocalWeek method

Moment startOfLocalWeek([
  1. int? weekStart
])

Returns start of the week based on localization.weekStart. You can override this with weekStart

Returned object will have same timezone as this

Implementation

Moment startOfLocalWeek([int? weekStart]) {
  return forcedSuperType
      .startOfLocalWeek(weekStart ?? localization.weekStart)
      .toMoment(localization: setLocalization);
}