toString method

  1. @override
String toString()
override

Return a string representation of this exception.

Implementation

@override
String toString() => message;