fade abstract method

void fade({
  1. required double length,
  2. double endGain = 0.0,
  3. double? startGain,
  4. double preFade = 0.0,
})

Fade this sound.

Implementation

void fade({
  required final double length,
  final double endGain = 0.0,
  final double? startGain,
  final double preFade = 0.0,
});