convert static method

DateTime? convert(
  1. TimeOfDay? time
)

Implementation

static DateTime? convert(TimeOfDay? time) =>
    time == null ? null : DateTime(1, 1, 1, time.hour, time.minute);