JSStaticValue constructor

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

Implementation

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