length property

int get length

Number of days in the range, at least 1.

Implementation

int get length => end.differenceInDays(start) + 1;