booltoMuteState function

MuteState booltoMuteState(
  1. bool? isMuted
)

Implementation

MuteState booltoMuteState(bool? isMuted) =>
    isMuted != null && isMuted ? MuteState.muted : MuteState.unmuted;