return true, if the type has a named field name the field name
true
name
bool hasField(String name) { return _fields[name] != null; }