sendCurrentTimeToCallback method
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);
}
}
}