seekBy method

Future<void> seekBy (Duration duration)

Seeks by the specified time. Seeks forward when a positive duration given and backwards if negative

Implementation

static Future<void> seekBy(Duration duration) async {
  await _checkIfBound();
  await _nativeChannel.invokeMethod("seekBy", {
    "seekByInMs": duration.inMilliseconds,
  });
}