toString method

  1. @override
String toString()
override

Returns a String composed of the message and additionalMessage properties.

Implementation

@override
String toString() {
  String msg = 'ArcGISException: code=$code; $message';
  if (additionalMessage.isNotEmpty) {
    msg = '$msg; $additionalMessage';
  }

  return msg;
}