flutter_js icon indicating copy to clipboard operation
flutter_js copied to clipboard

remove unnecessary JSON.stringfy

Open widealpha opened this issue 1 year ago • 1 comments

Remove unnecessary JSON.stringfy.Ensure consistency of data transmission between different implementations.

widealpha avatar Jun 07 '24 12:06 widealpha

_jsRuntime.evaluate('JSON.parse(${value.stringResult})'));

Yep. this is really not necessary. I had to add a parse again to revert the stringify error... The non promise version is correct

denny99 avatar Nov 07 '24 10:11 denny99