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