setLooping method

  1. @override
Future<void> setLooping(
  1. int? textureId,
  2. bool looping
)
override

Sets the looping attribute of the video.

Implementation

@override
Future<void> setLooping(int? textureId, bool looping) {
  return _channel.invokeMethod<void>(
    'setLooping',
    <String, dynamic>{
      'textureId': textureId,
      'looping': looping,
    },
  );
}