setVolume method

void setVolume(
  1. double volume
)

Implementation

void setVolume(double volume) {
  Map<String, dynamic> map = {
    'volume': {'level': volume, 'muted': false}
  };
  _castMediaAction('SET_VOLUME', map);
}