reason property

String get reason

"destroyed" where something called destroy, "unknown" otherwise — which is the difference between a teardown and a crash.

Implementation

external String get reason;