Converts the matrix to a text representation.
String toText({final String onChar = '#', final bool forCode = false}) { return gridToString(forCode: forCode, onChar: onChar); }