jsFunction property

JSFunction get jsFunction

Essentially, just override it like so:

@override
JSFunction get jsFunction => function.toJS;

Implementation

JSFunction get jsFunction;