Returns a value stored in Global.
Automatically converts BigInt values between Dart and JS.
Object? get value { final v = jsObject.value; return v != null && JsBigInt.isJsBigInt(v) ? JsBigInt.toBigInt(v) : v; }
Sets a value stored in Global. Attempting to set a value when Global is immutable will cause a runtime error.
set value(Object? value) { jsObject.value = value is BigInt ? value.toJs() : value; }