toJson method

Map<String, dynamic> toJson()

Implementation

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