toString method

  1. @override
String toString()
override

Get the message for this exception

Implementation

@override
String toString() => message;