toList method
toList with orded by the ascending YearMonth
value
And default growable
is false
Implementation
@override
List<YearMonth> toList({bool growable = false}) {
List<YearMonth> _l = _ymr.toList();
_l.sort((a, b) => b.compareTo(a));
return List.from(_l, growable: growable);
}