1. override
SoundChannel playSegment(num startTime, num duration, [ bool loop = false, SoundTransform soundTransform ])

Source

@override
SoundChannel playSegment(num startTime, num duration, [
  bool loop = false, SoundTransform soundTransform]) {

  return new MockSoundChannel(this, startTime, duration, loop, soundTransform);
}