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 FlexSchemeOnColors &&
other.onPrimary == onPrimary &&
other.onPrimaryContainer == onPrimaryContainer &&
other.onSecondary == onSecondary &&
other.onSecondaryContainer == onSecondaryContainer &&
other.onTertiary == onTertiary &&
other.onTertiaryContainer == onTertiaryContainer &&
other.onSurface == onSurface &&
other.onSurfaceVariant == onSurfaceVariant &&
other.onSurfaceDim == onSurfaceDim &&
other.onSurfaceBright == onSurfaceBright &&
other.onSurfaceContainerLowest == onSurfaceContainerLowest &&
other.onSurfaceContainerLow == onSurfaceContainerLow &&
other.onSurfaceContainer == onSurfaceContainer &&
other.onSurfaceContainerHigh == onSurfaceContainerHigh &&
other.onSurfaceContainerHighest == onSurfaceContainerHighest &&
other.onInverseSurface == onInverseSurface &&
other.onError == onError &&
other.onErrorContainer == onErrorContainer;
}