how to get timezone in flutter to run timer task code example
Example: convert datetime to TZDateTimeflutter
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);