getUserLeaveStream method

Stream<List<ZegoUIKitUser>> getUserLeaveStream()

get user leave notifier

Implementation

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