hasCause property

bool get hasCause

Whether this exception was caused by another exception

Implementation

bool get hasCause => originalError != null;