toText method

String toText({
  1. String onChar = '#',
  2. bool forCode = false,
})

Converts the matrix to a text representation.

Implementation

String toText({final String onChar = '#', final bool forCode = false}) {
  return gridToString(forCode: forCode, onChar: onChar);
}