display method

  1. @override
String display()
override

Implementation

@override
String display() {
  final fields = _components.map((value) => value.display()).toList();
  return "record {${fields.join('; ')}}";
}