getMessage method

  1. @override
String getMessage()
override

The message associated with this exception.

It defaults to the string representation of the exception.

Implementation

@override
String getMessage() => message;