EqualityFromDiffable class Null safety

Equality implementation based on diffables.

Implemented types

Constructors

EqualityFromDiffable.equals([DiffEquality diffEquality = const DiffEquality()])
const
EqualityFromDiffable.identity([DiffEquality diffEquality = const DiffEquality()])
const

Properties

diffEquality DiffEquality
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isIdentity bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

equals(dynamic e1, dynamic e2) bool
Compare two elements for being equal. [...]
override
hash(dynamic e) int
Creates a combined hash code for a number of objects. [...]
override
isValidKey(Object? e) bool
Test whether an object is a valid argument to equals and hash. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited