toString method

  1. @override
String toString()
override

Public method or function.

Implementation

@override
/// Public method or function.
String toString() {
  final buffer = StringBuffer('FireDoctorException: $message');
  if (code != null) buffer.write(' (code: $code)');
  return buffer.toString();
}