onRequest property

set onRequest (void value(JSObject))

Sets the request handler function.

Implementation

set onRequest(void Function(JSObject) value) =>
    _options.onRequest = value.toJS;