operator == method
Implementation
@override
bool operator ==(obj) {
  if (identical(this, obj)) {
    return true;
  } else {
    ServiceId? other = obj is ServiceId ? obj : null;
    if (other == null) {
      return false;
    } else if (!(this.IsValid && other.IsValid)) {
      return false;
    } else {
      return this.UniqueId == other.UniqueId;
    }
  }
}