JSObject constructor - JSObject - dart:js_interop library (original) (raw)
JSObject()
Creates a new empty JavaScript object.
The object is created using the JavaScript object initializer syntax ({}
), and this constructor is more efficient than {}.jsify()
.
Implementation
JSObject() : _jsObject = _createObjectLiteral();