Glyph.fromJson constructor

Glyph.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Glyph.fromJson(Map<String, dynamic> json) : super.fromJson(json){
  id = json['id'];
  verseId = json['verse_id'];
  pageId = json['page_id'];
  chapterId = json['chapter_id'];
  lineNumber = json['line_number'];
  position = json['position'];
  minX = json['min_x'];
  maxX = json['max_x'];
  minY = json['min_y'];
  maxY = json['max_y'];
}