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 FlexSchemeColor &&
      other.primary == primary &&
      other.primaryContainer == primaryContainer &&
      other.secondary == secondary &&
      other.secondaryContainer == secondaryContainer &&
      other.tertiary == tertiary &&
      other.tertiaryContainer == tertiaryContainer &&
      other.appBarColor == appBarColor &&
      other.error == error &&
      other.errorContainer == errorContainer &&
      other.swapOnMaterial3 == swapOnMaterial3;
}