JsObject factory constructor
JsObject(Constructs a new JavaScript object from constructor
and returns a proxy to it.
Source
factory JsObject(JsFunction constructor, [List arguments]) { try { return _create(constructor, arguments); } catch (e) { // Re-throw any errors (returned as a string) as a DomException. throw new html.DomException.jsInterop(e); } }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-js/JsObject/JsObject.html