sendCurrentTimeToCallback method

Future<void> sendCurrentTimeToCallback(
  1. dynamic seekFunction,
  2. bool isCurrentTimeDirty,
  3. int currentTime
)

Send to callback (if setted) new current if is modified

Implementation

Future<void> sendCurrentTimeToCallback(
    seekFunction, bool isCurrentTimeDirty, int currentTime) async {
  print("seekFunction!!!!!!");
  if (isCurrentTimeDirty) {
    print("seekFunction to " + currentTime.toString());
    if (seekFunction != null) {
      seekFunction(currentTime);
    }
  }
}