setBalance method

  1. @override
Future<void> setBalance(
  1. String playerId,
  2. double balance
)
override

Sets the stereo balance.

-1 - The left channel is at full volume; the right channel is silent. 1 - The right channel is at full volume; the left channel is silent. 0 - Both channels are at the same volume.

Implementation

@override
Future<void> setBalance(
  String playerId,
  double balance,
) {
  return _call(
    'setBalance',
    playerId,
    <String, dynamic>{'balance': balance},
  );
}