operator == method

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

True iff other is an EnumWithValue with the same value as this object.

Implementation

@override
bool operator ==(Object other) =>
    other is EnumWithValue && value == other.value;