wfFileTransEveStm property

Stream<FileTransBean> get wfFileTransEveStm

Implementation

Stream<FileTransBean> get wfFileTransEveStm {
  return const EventChannel(ChannelNames.eventWFFileTrans)
      .receiveBroadcastStream()
      .map((dynamic event) {
    // FileTransBean a = fileTransBeanFromJson(event);
    // print("Flutter接收到了文件传输回调,回调进度是:${a.progress},回调的状态是:${a.type}");
    return fileTransBeanFromJson(event);
  });
}