Replies: 1 comment
-
Is |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I finally got to save my data locally, but I encountered a problem using model class with complex object.
I have this error in
repository.initialize()
after data was saved.type '_$_Location' is not a subtype of type 'Map<String, dynamic>' in type cast
I think that I probably must do something with serialize/deserialize, but I don't know what.
And my adapter:
Edit: After more search, seems like it's the same problem as here "https://github.com/flutterdata/flutter_data/issues/182, but I'm not on Flutter Web :/
Beta Was this translation helpful? Give feedback.
All reactions