getMicSendMode function

Future<MicSendMode> getMicSendMode()

Implementation

Future<MicSendMode> getMicSendMode() async {
  var fac = DynamicFactories.localStorage;
  if (fac == null) return MicSendMode.manual;
  var rep = fac();
  var mode = await rep.getMicSendMode();
  return mode ?? MicSendMode.manual;
}