onDataReceived property
Stream<DataReceivedEvent>
get
onDataReceived
Fired when data chunk was received over the network.
Implementation
Stream<DataReceivedEvent> get onDataReceived => _client.onEvent
.where((event) => event.name == 'Network.dataReceived')
.map((event) => DataReceivedEvent.fromJson(event.parameters));