Returns true if this type has a constructor with the given name.
name
@override bool hasConstructor(String name) { return element.hasConstructor(name); }