operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Overrides the equality operator.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other.runtimeType != runtimeType) return false;
  return other is LanguageOption &&
      other.value == value &&
      other.code == code;
}