microphone property

ValueNotifier<bool> microphone

Implementation

ValueNotifier<bool> get microphone {
  final user = ZegoUIKitCore.shared.coreData.getUser(id);
  if (user.isEmpty) {
    return ZegoUIKitCore.shared.coreData.getUserInMixerStream(id).microphone;
  }
  return user.microphone;
}