toString method

  1. @override
String toString()
override

Returns a string representation of the exception

Implementation

@override
String toString() {
  return 'Please report this exception to the package authors'
      '(code: $code, message: $message, details: $details}';
}