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 FlexSchemeData &&
      other.name == name &&
      other.description == description &&
      other.light == light &&
      other.dark == dark;
}