setMuted method

Future<void> setMuted(
  1. bool muted
)

Implementation

Future<void> setMuted(bool muted) async {
  final int? id = _playerId;
  if (id == null) return;
  await UMediaChannel.call<void>(id, "setMuted", <String, Object?>{"muted": muted});
  _emit(value.copyWith(muted: muted));
}