FetchEventInit constructor

FetchEventInit({
  1. required Request request,
  2. Future? preloadResponse,
  3. String? clientId,
  4. String? resultingClientId,
  5. String? replacesClientId,
  6. Future<void>? handled,
})

Implementation

factory FetchEventInit(
        {required Request request,
        Future<dynamic>? preloadResponse,
        String? clientId,
        String? resultingClientId,
        String? replacesClientId,
        Future<void>? handled}) =>
    FetchEventInit._(
        request: request,
        preloadResponse: preloadResponse ?? undefined,
        clientId: clientId ?? '',
        resultingClientId: resultingClientId ?? '',
        replacesClientId: replacesClientId ?? '',
        handled: handled ?? undefined);