toSdl method

String? toSdl()

Implementation

String? toSdl() {
  final List<String> results = children.map((e) => e.toSdl()).toList();

  if (results.isEmpty) return null;

  return '{${results.join(', ')}}';
}