BinaryMatrix.fromBinaryRows constructor
Creates a matrix from arbitrary-width binary row literals.
All rows must have the same number of digits after removing underscores. The leftmost digit is the highest-numbered column, and the rightmost digit is column zero. Leading zeroes therefore contribute to columnCount.
Implementation
factory BinaryMatrix.fromBinaryRows(Iterable<String> literals) {
final parsedRows = [
for (final literal in literals) _parseBinaryRow(literal)
];
return BinaryMatrix._fromParsedRows(parsedRows);
}