Book.fromJson constructor

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

Implementation

Book.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  id = json['id'];
  name = json['name'];
  narrationId = json['narration_id'];
}