originalMessage property

String? originalMessage
final

The original error message, if one existed.

This is always null for the dart vm, but might contain more details when using JS. You should not rely on this to provide anything meaningful, it simply exists for completness.

Implementation

final String? originalMessage;