onData property

void Function(S event)? onData
final

fires when data is emitted

Implementation

final void Function(S event)? onData;