hasField method
Implementation
hasField(TypeDefinition otherField) {
final key = fields.keys
.firstWhere((k) => fields[k] == otherField, orElse: () => "");
return key != "";
}
hasField(TypeDefinition otherField) {
final key = fields.keys
.firstWhere((k) => fields[k] == otherField, orElse: () => "");
return key != "";
}