seek method

String seek(
  1. int n
)

Implementation

String seek(int n) {
  final total = TrackDurationInt;
  var x = RelTimeInt + n;
  if (x > total) {
    x = total;
  } else if (x < 0) {
    x = 0;
  }
  return toStr(x);
}