toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['id'] = id;
  data['verse_id'] = verseId;
  data['page_id'] = pageId;
  data['chapter_id'] = chapterId;
  data['line_number'] = lineNumber;
  data['position'] = position;
  data['min_x'] = minX;
  data['max_x'] = maxX;
  data['min_y'] = minY;
  data['max_y'] = maxY;
  return data;
}