onWorkerVersionUpdated property
Stream<List<ServiceWorkerVersion> >
get
onWorkerVersionUpdated
Implementation
Stream<List<ServiceWorkerVersion>> get onWorkerVersionUpdated => _client
.onEvent
.where((event) => event.name == 'ServiceWorker.workerVersionUpdated')
.map((event) => (event.parameters['versions'] as List)
.map((e) => ServiceWorkerVersion.fromJson(e as Map<String, dynamic>))
.toList());