EpubLocator.fromJson constructor

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

Implementation

EpubLocator.fromJson(Map<String, dynamic> json) {
  bookId = json['bookId'];
  href = json['href'];
  created = json['created'];
  locations = json['locations'] != null
      ? new Locations.fromJson(json['locations'])
      : null;
}