ChaptersModel.fromJson constructor
ChaptersModel.fromJson(
- String data
dart:convert
Parses the string and returns the resulting Json object as ChaptersModel.
Implementation
factory ChaptersModel.fromJson(String data) {
return ChaptersModel.fromMap(json.decode(data) as Map<String, dynamic>);
}