onCancel property

VoidCallback? onCancel

The onCancel callback of the exception, or null if it was not defined.

Implementation

VoidCallback? get onCancel {
  var exception = this;
  return (exception is AdvancedUserException) ? exception.onCancel : null;
}