skipNext static method

Future skipNext()

Skips to the next track

Throws a PlatformException if skipping failed Throws a MissingPluginException if the method is not implemented on the native platforms.

Implementation

static Future skipNext() async {
  try {
    await _channel.invokeMethod(MethodNames.skipNext);
  } on Exception catch (e) {
    _logException(MethodNames.skipNext, e);
    rethrow;
  }
}