selectedDateTime property Null safety

DateTime selectedDateTime

Implementation

DateTime get selectedDateTime => _selectedDateTime;
void selectedDateTime=(DateTime _)

Implementation

set selectedDateTime(DateTime _) {
  _selectedDateTime = Helper().convertDateTimeToMidnight(_);
}