onSubresourceWebBundleMetadataReceived property

Stream<SubresourceWebBundleMetadataReceivedEvent> onSubresourceWebBundleMetadataReceived

Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.

Implementation

Stream<SubresourceWebBundleMetadataReceivedEvent>
    get onSubresourceWebBundleMetadataReceived => _client.onEvent
        .where((event) =>
            event.name == 'Network.subresourceWebBundleMetadataReceived')
        .map((event) => SubresourceWebBundleMetadataReceivedEvent.fromJson(
            event.parameters));