operator == method

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

Bitfields compare by bits value only.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other is! BitStructBase<T, K>) return false;
  return (other.bits == bits);
}