set method

Future<double> set (
  1. double vol,
  2. {int type: STREAM_MUSIC}
)

Implementation

static Future<double> set(double vol, {int type = STREAM_MUSIC}) {
  return _channel.invokeMethod("set", <String, dynamic>{
    'vol': vol,
    'type': type,
  });
}