Full Output toString
Prn-Ice opened this issue · comments
Is your feature request related to a problem? Please describe.
I was recently comparing two classes, the objects were different, but I couldn't see which because the current toString
displays only the first and last set of props. I have had to manually print out all props when I faced this.
Describe the solution you'd like
Would be nice to have a toString which prints out props in a propName: prop\n
format for visual comparisons.
Describe alternatives you've considered
I have used the following function whenever I had said issue.
for (var i = 0; i < staffEntity.props.length; i++) {
print('${staffEntity.props[i].toString()}\n');
}
Printing toMap
is sufficient, thanks.