playString method

  1. @override
Sound playString({
  1. required String string,
  2. bool keepAlive = false,
  3. double gain = 0.7,
  4. bool looping = false,
  5. double pitchBend = 1.0,
})
override

Play a sound from the given string.

Implementation

@override
Sound playString({
  required final String string,
  final bool keepAlive = false,
  final double gain = 0.7,
  final bool looping = false,
  final double pitchBend = 1.0,
}) =>
    SilentSound(
      channel: this,
      gain: gain,
      keepAlive: keepAlive,
      looping: looping,
      pitchBend: pitchBend,
    );