onAbortPressed property

void Function()? get onAbortPressed

Implementation

void Function()? get onAbortPressed => abortCanBePressed
    ? () {
        newState = FDBState.abort;
        onAbort?.call();
      }
    : null;