convert datetime to time flutter code example
Example: convert datetime to TZDateTimeflutter
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);