mute method

void mute()

Implementation

void mute() {
  if (media != null) {
    media?.muted = true;
  }
}