jsFunction property

  1. @override
JSFunction get jsFunction
override

Essentially, just override it like so:

@override
JSFunction get jsFunction => function.toJS;

Implementation

@override
JSFunction get jsFunction => function.toJS;