Update
String offset = data['utc_offset'].substring(1,3);
with
String offset = data['utc_offset'].substring(0,3);
To keep a sign.
-
Use "utc_datetime" instead of "datetime".
// it is strange why
// DateTime.parse(datetime) does not adjust time with offset in the "datetime" string)
-
Another improvement when offset is with an half of hour.
Thank you for videos on Youtube !!! :)