Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.


callConstructor(JSObject constructor, List args) → dynamic

callMethod(JSObject o, String method, List args) → dynamic

getProperty(JSObject o, name) → dynamic

hasProperty(JSObject o, name) → dynamic

instanceof(JSObject o, Function type) → dynamic

jsify(object) → dynamic

WARNING: performance of this method is much worse than other uitil methods in this library. Only use this method as a last resort.

newObject() JSObject

setProperty(JSObject o, name, value) → dynamic