JSStaticValue constructor

const JSStaticValue(
  1. String name, {
  2. Pointer<NativeFunction<JSObjectGetPropertyCallback>>? getProperty,
  3. Pointer<NativeFunction<JSObjectSetPropertyCallback>>? setProperty,
  4. JSPropertyAttributes attributes = JSPropertyAttributes.kJSPropertyAttributeNone,
})

Implementation

const JSStaticValue(
  this.name, {
  this.getProperty,
  this.setProperty,
  this.attributes = JSPropertyAttributes.kJSPropertyAttributeNone,
});