Open mrseth01 opened 3 years ago
My project has null safety on, which is probably the issue. The example app runs okay, but the same code adjusted for the obvious null-safety fixes does not work in my project.
Hi! This should be fixed in 1.0.3
. You may already try it by using the plugin from the repo, will push a new release to pub.dev soon.
I'm working with the face detection example, and the onAddNodeForAnchor and onUpdateNodeForAnchor both throw casting errors.
The data coming from ARKit is
And since there is no geometry key, the following error is thrown.
flutter: type 'Null' is not a subtype of type 'Map<dynamic, dynamic>'
Also, json_serializable uses the as Map<String, dynamic> notation instead of the Map<String, dynamic>.from() notation which also seems to be a problem.