getCurrentYearList function

List<DateTime> getCurrentYearList()

Implementation

List<DateTime> getCurrentYearList() => [
      DateTime(DateTime.now().year).toLocal(),
      DateTime(DateTime.now().year, 12, 31).toLocal(),
    ];