toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'text': text.toJson(),
'rich_texts': richTexts.map((item) => item.toJson()).toList(),
'position': position,
'@type': constructor,
};