untilDateTime property

DateTime? get untilDateTime

Returns the untilDate as a DateTime object

This will return null if the user is banned forever

Implementation

DateTime? get untilDateTime => isForever ? null : untilDate.toDateTime();