stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  if (!_isInitialized) return;
  await _channel.invokeMethod('stop', {
    'textureId': _textureId,
  });
  _status = VideoPlayerStatus.idle;
  notifyListeners();
}