getMediaListStream method

Stream<List<ZegoUIKitUser>> getMediaListStream()

Implementation

Stream<List<ZegoUIKitUser>> getMediaListStream() {
  return ZegoUIKitCore.shared.coreData.media.mediaListStreamCtrl?.stream
          .map((users) => users.map((e) => e.toZegoUikitUser()).toList()) ??
      const Stream.empty();
}