toDebugString method

String toDebugString()

Debug complete output

Implementation

String toDebugString() {
  final sb = StringBuffer();
  sb.writeln('message: $message');
  if (command != null) {
    sb.write(command!.toDebugString());
  }
  if (result != null) {
    sb.write(result!.toDebugString());
  }
  return sb.toString();
}