Using equatable flutter, we can simplify comparisons of equality . To compare different instances of the same class we have to override both the == operator and hashcode. For example, if two objects are the same instance for the class,== returns true.