set method
void
set(
- dynamic key,
- dynamic value
override
Set property to this JS object.
The key
would be a String or int value
The value
could be one of int, double, bool,
String, Future JsValue or any other type.
Implementation
void set(dynamic key, dynamic value) => _object[key] = jsValue(value, script);