networkEvents property
Stream of network events
Implementation
Stream<NetworkEvent> get networkEvents =>
client.subscribe(RequestSessionSubscribeToNetwork()).map(
(r) => switch (r) {
ResponseNetworkEvent(value: final value) => value,
_ => throw InvalidData('unexpected event type'),
},
);