toString method

  1. @override
String toString([
  1. String setString = 'X ',
  2. String unsetString = ' ',
  3. String lineSeparator = '\n'
])
override

@param setString representation of a set bit @param unsetString representation of an unset bit @param lineSeparator newline character in string representation @return string representation of entire matrix utilizing given strings and line separator

Implementation

@override
String toString([
  String setString = 'X ',
  String unsetString = '  ',
  String lineSeparator = '\n',
]) {
  return _buildToString(setString, unsetString, lineSeparator);
}