ChapterDatum.fromJson constructor

ChapterDatum.fromJson(
  1. String data
)

dart:convert

Parses the string and returns the resulting Json object as ChapterDatum.

Implementation

factory ChapterDatum.fromJson(String data) {
  return ChapterDatum.fromMap(json.decode(data) as Map<String, dynamic>);
}