Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toJson issue #129

Open
bhanuka96 opened this issue Jul 31, 2021 · 0 comments
Open

toJson issue #129

bhanuka96 opened this issue Jul 31, 2021 · 0 comments

Comments

@bhanuka96
Copy link

bhanuka96 commented Jul 31, 2021

I try to store full json on my database. but this does not convert the whole object to a map.

 PlacesDetailsResponse detail = await places.getDetailsByPlaceId(p.placeId);
log('json : ${detail?.result?.toJson()}');

not convert to map Instance of 'AddressComponent',

json : {address_components: [Instance of 'AddressComponent', Instance of 'AddressComponent', Instance of 'AddressComponent', Instance of 'AddressComponent'],...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant