play method

Future<void> play()

Reproduce el video

Implementation

Future<void> play() async {
  try {
    await _methodChannel.invokeMethod('play');
  } catch (e) {
    debugPrint('[NativeVideoPlayer] Error al reproducir: $e');
    rethrow;
  }
}