setMicrophoneEnabled method

Future<LocalTrackPublication<LocalTrack>?> setMicrophoneEnabled(
  1. bool enabled
)

Shortcut for publishing a TrackSource.microphone

Implementation

Future<LocalTrackPublication?> setMicrophoneEnabled(bool enabled) async {
  return setSourceEnabled(TrackSource.microphone, enabled);
}