- override
Determine if two Peer objects are identical.
A Peer object is identied by the tuple (userid, domain) and all fields must thus match for two Peer object to be identical.
Source
@override
bool operator ==(Object other) =>
other is Peer && id == other.id && domain == other.domain;