display method

  1. @override
String display()
override

Implementation

@override
String display() {
  final fields =
      _fields.map((entry) => '${entry.key}:${entry.value.display()}');
  return "record {${fields.join('; ')}}";
}