operator == method

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

Equality checks for Node id only

Implementation

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