MockSoundChannel(MockSound mockSound, num startTime, num duration, bool loop, SoundTransform soundTransform)

Source

MockSoundChannel(
    MockSound mockSound,
    num startTime, num duration, bool loop,
    SoundTransform soundTransform) {

  if (soundTransform == null) soundTransform = new SoundTransform();

  _mockSound = mockSound;
  _soundTransform = soundTransform;
  _loop = loop;
}