Test whether another object is equal to this function.
System-created function objects are only equal to other functions.
Two function objects are known to represent the same function if
Function expressions never give rise to equal function objects. Each time a function expression is evaluated, it creates a new closure value that is not known to be equal to other closures created by the same expression.
Classes implementing Function
by having a call
method should have their own operator==
and hashCode
depending on the object.
bool operator ==(Object other);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/Function/operator_equals.html