RequestEvent constructor

RequestEvent({
  1. Request? request,
  2. Future<void> respondWith(
    1. Object
    )?,
})

Implementation

factory RequestEvent({
  _i5.Request? request,
  _i2.Future<void> Function(_i2.Object)? respondWith,
}) =>
    RequestEvent._(
      request: request ?? _i6.undefined,
      respondWith: respondWith == null ? null : _i3.allowInterop(respondWith),
    );