toOffsetDate method
Constructs a new OffsetDate from the date and offset of this value, but omitting the time-of-day.
Returns: A value representing the date and offset aspects of this value.
Implementation
OffsetDate toOffsetDate() => OffsetDate(calendarDate, offset);