isLoop method

Future<bool> isLoop()

Whether loop playback is enabled.

Implementation

Future<bool> isLoop() async {
  if (_isNeedDisposed) return false;
  await _initPlayer.future;
  final result = await _mc!.invoke<bool>('isLoop');
  return result ?? false;
}