operator == method
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 FlexTones &&
other.primaryTone == primaryTone &&
other.onPrimaryTone == onPrimaryTone &&
other.primaryContainerTone == primaryContainerTone &&
other.onPrimaryContainerTone == onPrimaryContainerTone &&
other.secondaryTone == secondaryTone &&
other.onSecondaryTone == onSecondaryTone &&
other.secondaryContainerTone == secondaryContainerTone &&
other.onSecondaryContainerTone == onSecondaryContainerTone &&
other.tertiaryTone == tertiaryTone &&
other.onTertiaryTone == onTertiaryTone &&
other.tertiaryContainerTone == tertiaryContainerTone &&
other.onTertiaryContainerTone == onTertiaryContainerTone &&
other.errorTone == errorTone &&
other.onErrorTone == onErrorTone &&
other.errorContainerTone == errorContainerTone &&
other.onErrorContainerTone == onErrorContainerTone &&
other.backgroundTone == backgroundTone &&
other.onBackgroundTone == onBackgroundTone &&
other.surfaceTone == surfaceTone &&
other.onSurfaceTone == onSurfaceTone &&
other.surfaceVariantTone == surfaceVariantTone &&
other.onSurfaceVariantTone == onSurfaceVariantTone &&
other.outlineTone == outlineTone &&
other.outlineVariantTone == outlineVariantTone &&
other.shadowTone == shadowTone &&
other.scrimTone == scrimTone &&
other.inverseSurfaceTone == inverseSurfaceTone &&
other.onInverseSurfaceTone == onInverseSurfaceTone &&
other.inversePrimaryTone == inversePrimaryTone &&
other.surfaceTintTone == surfaceTintTone &&
other.primaryChroma == primaryChroma &&
other.primaryMinChroma == primaryMinChroma &&
other.secondaryChroma == secondaryChroma &&
other.secondaryMinChroma == secondaryMinChroma &&
other.tertiaryChroma == tertiaryChroma &&
other.tertiaryMinChroma == tertiaryMinChroma &&
other.tertiaryHueRotation == tertiaryHueRotation &&
other.errorChroma == errorChroma &&
other.errorMinChroma == errorMinChroma &&
other.neutralChroma == neutralChroma &&
other.neutralMinChroma == neutralMinChroma &&
other.neutralVariantChroma == neutralVariantChroma &&
other.neutralVariantMinChroma == neutralVariantMinChroma &&
other.paletteType == paletteType;
}