JSObjectUnsafeUtilExtension extension

on

Methods

callMethod<T extends JSAny?>(JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → T
Calls a method on this JSObject with up to four arguments and returns the result.
callMethodVarArgs<T extends JSAny?>(JSAny method, [List<JSAny?>? arguments]) → T
Calls a method on this JSObject with a variable number of arguments and returns the result.
delete(JSAny property) JSBoolean
Deletes the given property from this JSObject.
getProperty<T extends JSAny?>(JSAny property) → T
Gets a given property from this JSObject.
has(String property) bool
Shorthand helper to check for String properties.
hasProperty(JSAny property) JSBoolean
Whether or not this JSObject has a given property.
setProperty(JSAny property, JSAny? value) → void
Sets a given property with value on this JSObject.

Operators

operator [](String property) JSAny?
Shorthand helper to get String properties.
operator []=(String property, JSAny? value) → void
Shorthand helper to set String properties.