Outputs the attributes as a Map.
Map
@override Map<String, dynamic> toMap() => { 'text': text, 'textContent': textContent, 'start': start.toMap(), 'end': end.toMap(), };