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 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.onInverseSurface == onInverseSurface &&
      other.onBackground == onBackground &&
      other.onError == onError &&
      other.onErrorContainer == onErrorContainer;
}