operator == method

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

Equality checks for Relation id only

Implementation

@override
bool operator ==(Object other) {
  return other is Relation && other.id == id;
}