toJson method
Implementation
@override
Map<String, Object?> toJson() => super.toJson()
..addAll({
'body': body.map((e) => e.toJson()),
'leftDelim': leftDelim,
'rightDelim': rightDelim,
if (middle.isNotEmpty) 'middle': middle,
});