daysUntilEndOfYear method

int daysUntilEndOfYear()

Days until end of year.

Implementation

int daysUntilEndOfYear() => DateTime(year + 1).daysUntil(this);