rows property

int get rows

The number of rows in the matrix.

Implementation

int get rows => _matrix.isEmpty ? 0 : _matrix.length ~/ cols;