operator == method

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

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

Implementation

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