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
-
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