operator == method

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

Override the equality operator.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other.runtimeType != runtimeType) return false;
  return other is FlexKeyColors &&
      other.useKeyColors == useKeyColors &&
      other.useSecondary == useSecondary &&
      other.useTertiary == useTertiary &&
      other.keepPrimary == keepPrimary &&
      other.keepSecondary == keepSecondary &&
      other.keepTertiary == keepTertiary &&
      other.keepPrimaryContainer == keepPrimaryContainer &&
      other.keepSecondaryContainer == keepSecondaryContainer &&
      other.keepTertiaryContainer == keepTertiaryContainer;
}