weekday property

int weekday

Returns weekday of the date represented by this object. Always in range 1; 7, where 1 is Monday and 7 is Sunday.

Implementation

int get weekday => _date.weekday;