streamPull method
Gets the LSLPullSample for the given LSLStreamInfo.
Implementation
LSLPullSample streamPull(LSLStreamInfo streamInfo) {
final LSLChannelFormat channelFormat = streamInfo.channelFormat;
if (_pullSampleMap.containsKey(channelFormat)) {
return _pullSampleMap[channelFormat]!;
} else {
throw LSLException('Unsupported channel format: $channelFormat');
}
}