isInNextMonth property

bool get isInNextMonth

Returns true if this date is in the next month.

Example: DateTime.now().isInNextMonth -> true.

Implementation

bool get isInNextMonth =>
    month == DateTime.now().month + 1 && year == DateTime.now().year;