autoRecorderStream property
Stream<SamplePoint?>
autoRecorderStream
Stream that emits SamplePoint
s after startRecord is activated.
Implementation
static Stream<SamplePoint?> get autoRecorderStream =>
_eventChannel.receiveBroadcastStream().map((dynamic e) {
if (e != null) {
return SamplePoint.fromMap(jsonDecode(e));
}
}).cast<SamplePoint?>();