cancel method
void
cancel()
Cancel this level.
This method calls onCancel.
Implementation
void cancel() {
final cancelFunc = onCancel;
if (cancelFunc != null) {
cancelFunc();
}
}
Cancel this level.
This method calls onCancel.
void cancel() {
final cancelFunc = onCancel;
if (cancelFunc != null) {
cancelFunc();
}
}