Convert TimeOfDay To DateTime in Dart
timeOfDayToDateTime() function converts TimeOfDay object to DateTime. You can optionally pass DateTime value to merge with particular date.
DateTime timeOfDayToDateTime(TimeOfDay timeOfDay, {DateTime? dateTime}) {
if (dateTime != null) {
retur...
amitised.hashnode.dev1 min read