setVolume method

  1. @override
Future<int> setVolume(
  1. FlutterSoundPlayerCallback callback, {
  2. double? volume,
})
override

Implementation

@override
Future<int> setVolume(FlutterSoundPlayerCallback callback, {double? volume}) {
  return invokeMethod(callback, 'setVolume', {
    'volume': volume,
  });
}