updateMark method

dynamic updateMark(
  1. List<DateTime>? markDates
)

Implementation

updateMark(List<DateTime>? markDates) {
  for (var element in days) {
    element.isMark = isMark(element.dateTime, markDates);
  }
}