Closed LODYZ closed 1 year ago
Hello @LODYZ ,
The latest version is now easy_onvif: ^2.0.13+19
, please let me know if this resolves the problem above.
Hello @faithoflifedev,
I just tried with the latest version and I don't get the error anymore! Thank you.
Unfortunately I'm getting another error that seems to be related to: https://github.com/faithoflifedev/easy_onvif/issues/30 I wrote a comment there
Hi, i am using the ^2.0.13+17 version but when i try to call the method Onvif.connect i get this error:
Unhandled exception: type 'Null' is not a subtype of type 'String'
0 OnvifUtil.mappedToString (package:easy_onvif/src/util/util.dart:142:68)
1 _$TimeZoneFromJson (package:easy_onvif/src/model/time_zone.g.dart:10:21)
2 new TimeZone.fromJson (package:easy_onvif/src/model/time_zone.dart:18:7)
3 _$SystemDateAndTimeFromJson (package:easy_onvif/src/model/system_date_and_time.g.dart:17:22)
4 new SystemDateAndTime.fromJson (package:easy_onvif/src/model/system_date_and_time.dart:43:7)
5 _$GetSystemDateAndTimeResponseFromJson (package:easy_onvif/src/model/system_date_time_response.g.dart:12:25)
6 new GetSystemDateAndTimeResponse.fromJson (package:easy_onvif/src/model/system_date_time_response.dart:18:7)
7 _$BodyFromJson (package:easy_onvif/src/model/body.g.dart:43:42)
8 new Body.fromJson (package:easy_onvif/src/model/body.dart:214:55)
9 _$EnvelopeFromJson (package:easy_onvif/src/model/envelope.g.dart:10:18)
10 new Envelope.fromJson (package:easy_onvif/src/model/envelope.dart:20:7)
11 new Envelope.fromXml (package:easy_onvif/src/model/envelope.dart:23:16)
12 Soap.retrieveEnvelope (package:easy_onvif/src/soap.dart:67:21)