display method

  1. @override
String display()
override

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";
}