listenCameraImages static method
Implementation
static Stream<Map<String, dynamic>>? listenCameraImages() {
_imagesStream ??=
_imagesChannel.receiveBroadcastStream('imagesChannel').transform(
StreamTransformer<dynamic, Map<String, dynamic>>.fromHandlers(
handleData: (data, sink) {
sink.add(Map<String, dynamic>.from(data));
},
),
);
return _imagesStream;
}