getCause method
The cause of this exception, if any.
It defaults to the exception itself if not provided.
Implementation
Object? getCause() => this;
The cause of this exception, if any.
It defaults to the exception itself if not provided.
Object? getCause() => this;