toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['bookId'] = this.bookId;
data['href'] = this.href;
data['created'] = this.created;
if (this.locations != null) {
data['locations'] = this.locations!.toJson();
}
return data;
}