toJS property
A callable JavaScript function that wraps this Function.
If the static type of the Function could not be determined or if the static type uses types that are disallowed, the call will fail to compile. See https://dart.dev/interop/js-interop/js-types#requirements-on-external-declarations-and-function-tojs for more details on what types are allowed.
Implementation
external JSExportedDartFunction get toJS;