YearRange constructor
YearRange(
- Date start,
- int _ago, [
- RangeTitle _titleFunction = _defaultTitle
Implementation
YearRange(Date start, this._ago, [this._titleFunction = _defaultTitle])
: _start = Date(start.year, 1, 1);