onData property
void Function(T data)?
onData
final
Callback executed on the main thread whenever the background Isolate sends data.
Implementation
final void Function(T data)? onData;
Callback executed on the main thread whenever the background Isolate sends data.
final void Function(T data)? onData;