replay method

Future<void> replay()

Implementation

Future<void> replay() async {
  int position = (_currentPosition ?? 0) - 10000;
  if (position < 0) {
    position = 0;
  }
  try {
    await methodChannel.invokeMethod(Constant.METHOD_SEEK_TO, position);
  } on PlatformException catch (_) {}
}