I was trying to migrate one library from polymer.js to polymer.dart and I found this line:
Platform.flush()
And I was wondering what is the equivalent in dart.
this line appears on line 32 in next library:
https://github.com/Polymer/designer/blob/master/elements/design-state/design-state.html
There isn't and you shouldn't need it in Polymer.dart but you might for interop with Polymer.js. A workaround is to use JS-interop:
When you call
async(...)orasyncTimer(...)of your Polymer elementPlatform.flush()is called from Polymer.dart code.