Package: backendless_sdk-7.0.0-nullsafety - Flutter SDK: 2.2.0 stable
Error:
… backendless_sdk-7.0.0-nullsafety.0/lib/src/utils/message_codec.dart:116:52: Error: The argument type ‘Object?’ can’t be assigned to the parameter type ‘int’.
- ‘Object’ is from ‘dart:core’.
return DateTime.fromMillisecondsSinceEpoch(readValue(buffer));
It would be very helpful if you also described steps to reproduce the problem.
Mark
I’m just use backendless_sdk: ^7.0.0-nullsafety.0 with flutter version 2.2.0
When does the problem occur?
same for me.
Just trying to install sdk. And in build:
Error: The argument type ‘Object?’ can’t be assigned to the parameter type ‘Map<dynamic, dynamic>’.
- ‘Object’ is from ‘dart:core’.
- ‘Map’ is from ‘dart:core’.
return EmailEnvelope.fromJson(readValue(buffer));
–
Error: The argument type ‘Object?’ can’t be assigned to the parameter type ‘String’.
- ‘Object’ is from ‘dart:core’.
return Geometry.fromWKT(readValue(buffer));
^
@mark-piller
When android studio start build debug on my device!
@mark-piller can you reproduce it?
an engineer is working on it
Hi @Minh_Tuan_Vu and @To_Dentist
We have released new version 7.0.0-nullsafety.1
. Can you update plugin version and check if everything works fine for you now?
Best Regards,
Maksym
It work like charm. Many thanks