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 FlexSchemeSurfaceColors &&
      other.surface == surface &&
      other.surfaceVariant == surfaceVariant &&
      other.inverseSurface == inverseSurface &&
      other.background == background &&
      other.scaffoldBackground == scaffoldBackground &&
      other.dialogBackground == dialogBackground;
}