onWorkerErrorReported property

Stream<ServiceWorkerErrorMessage> get onWorkerErrorReported

Implementation

Stream<ServiceWorkerErrorMessage> get onWorkerErrorReported => _client.onEvent
    .where((event) => event.name == 'ServiceWorker.workerErrorReported')
    .map((event) => ServiceWorkerErrorMessage.fromJson(
        event.parameters['errorMessage'] as Map<String, dynamic>));