playSegment method Null safety

  1. @override
SoundChannel playSegment(
  1. num startTime,
  2. num duration,
  3. [bool loop = false,
  4. SoundTransform? soundTransform]
)
override

Implementation

@override
SoundChannel playSegment(num startTime, num duration,
        [bool loop = false, SoundTransform? soundTransform]) =>
    MockSoundChannel(this, loop, soundTransform);