onData property
void Function(S event)?
onData
final
fires when data is emitted
Implementation
final void Function(S event)? onData;
fires when data is emitted
final void Function(S event)? onData;