setLooping method Null safety

Future<void> setLooping(
  1. bool looping
)

Sets whether or not the video should loop after playing once. See also VideoPlayerValue.isLooping.

Implementation

Future<void> setLooping(bool looping) async {
  value = value.copyWith(isLooping: looping);
  await _applyLooping();
}