Converting object to an encodable object failed #25919
piyastk
started this conversation in
Show and tell
Replies: 1 comment
-
|
Could you provide a sample code that you ran that got you this error that you are facing? My guess is that you tried to pass a JSON encoded string to the .insert() method, but this is not necessary, and you should just pass a Map to the method in order to insert or update data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
flutter: Converting object to an encodable object failed: _Map len:1.
while i am submitting json , i am getting this error. any solution on this ?)
Beta Was this translation helpful? Give feedback.
All reactions