Rename equality method for separation from Java and consistency with the Dart implemention.