display method
Implementation
@override
String display() {
final args = argTypes.map((arg) => arg.display()).join(', ');
final rets = retTypes.map((arg) => arg.display()).join(', ');
final annon = ' ' + annotations.join(' ');
return "($args) → ($rets)$annon";
}