@override Map<String, dynamic> toJson() => <String, dynamic>{ 'text': text.toJson(), 'style': style.toJson(), 'type': type.toJson(), '@type': constructor, };