weekday property Null safety

int weekday
override

The day of the week.

In accordance with ISO 8601 a week starts with Monday, which has the value 1.

Implementation

@override
int get weekday => _localDateTime.weekday;