seekBackward method

Future<bool> seekBackward ()

Seek backward in the song currently playing in the queue. Must call endSeeking() or will not stop seeking.

Implementation

Future<bool> seekBackward() async {
  if (Platform.isIOS) {
    var result = await playerChannel.invokeMethod('seekBackward');
    return result;
  } else {
    throw PlatformException(
        code: "Device is not iOS!",
        message:
            "Currently only iOS is supported. Feel free to contribute to Playify to help support Android.");
  }
}