operator == method Null safety

  1. @override
bool operator ==(
  1. Object other
)
override

Check if two matrices are the same.

Implementation

@override
bool operator ==(Object other) =>
    (other is Matrix3) &&
    (_m3storage[0] == other._m3storage[0]) &&
    (_m3storage[1] == other._m3storage[1]) &&
    (_m3storage[2] == other._m3storage[2]) &&
    (_m3storage[3] == other._m3storage[3]) &&
    (_m3storage[4] == other._m3storage[4]) &&
    (_m3storage[5] == other._m3storage[5]) &&
    (_m3storage[6] == other._m3storage[6]) &&
    (_m3storage[7] == other._m3storage[7]) &&
    (_m3storage[8] == other._m3storage[8]);