toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'bookId': bookId,
'chapterIndex': chapterIndex,
'paragraphKey': paragraphKey,
'startIndex': startIndex,
'endIndex': endIndex,
'selectedText': selectedText,
'colorValue': colorValue,
};