equals method

bool equals(
  1. Matrix3 matrix
)

Return true if this matrix and page:Matrix3 m are equal.

Implementation

bool equals(Matrix3 matrix) {
  final te = storage;
  final me = matrix.storage;

  for (int i = 0; i < 9; i++) {
    if (te[i] != me[i]) return false;
  }

  return true;
}