OLBook constructor

OLBook({
  1. String title = "",
  2. String full_title = "",
  3. String subtitle = "",
  4. List<String> subjects = const [],
  5. List<String> isbn_10 = const [],
  6. List<String> isbn_13 = const [],
  7. List<String> ia_box_id = const [],
  8. String ocaid = "",
  9. List<String> publishers = const [],
  10. List<OLAuthor> authors = const [],
  11. List<String> publish_places = const [],
  12. String physical_format = "",
  13. String physical_dimensions = "",
  14. int latest_revision = 0,
  15. int revision = 0,
  16. String publish_date = "",
  17. List<String> contributions = const [],
  18. List<Uint8List> covers = const [],
  19. String weight = "",
  20. List<String> lc_classifications = const [],
  21. int number_of_pages = 0,
  22. String edition_name = "",
  23. String pagination = "",
})

Implementation

OLBook({
  this.title = "",
  this.full_title = "",
  this.subtitle = "",
  this.subjects = const [],
  this.isbn_10 = const [],
  this.isbn_13 = const [],
  this.ia_box_id = const [],
  this.ocaid = "",
  this.publishers = const [],
  this.authors = const [],
  this.publish_places = const [],
  String physical_format = "",
  this.physical_dimensions = "",
  this.latest_revision = 0,
  this.revision = 0,
  this.publish_date = "",
  this.contributions = const [],
  this.covers = const [],
  this.weight = "",
  this.lc_classifications = const [],
  this.number_of_pages = 0,
  this.edition_name = "",
  this.pagination = "",
}) {
  // standardize up the [physical format]
  this.physical_format = physical_format.trim().capitalize();
}