Is there any way to pass Dart variables to another browser window? -



Is there any way to pass Dart variables to another browser window? -

i know can utilize local storage, cookies , postmessage these methods take simple types. want pass objects , lists straight other window.

i found similar question using javascript. i'd victor pointed in next link.

can pass javascript variable browser window?

trying similar in dart gives me warining before running.

var popup = window.open('popup.html', ''); popup.variable = localvariable; //warning here

passing objects not possible.

you can serialize json create simple type , pass using postmessage , deserialize. lists , maps containing simple types should work postmessage.

dart

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -