1. @override
bool operator ==(other)

Two entities are considered equal if they have the same tableName.

Source

@override
bool operator ==(dynamic other) {
  return tableName == other.tableName;
}