JSStaticFunction constructor

JSStaticFunction({
  1. required String name,
  2. Pointer<NativeFunction<JSObjectCallAsFunctionCallback>>? callAsFunction,
  3. JSPropertyAttributes attributes = JSPropertyAttributes.kJSPropertyAttributeNone,
})

Implementation

JSStaticFunction({
  required this.name,
  this.callAsFunction,
  this.attributes = JSPropertyAttributes.kJSPropertyAttributeNone,
});