BookMetadata constructor
BookMetadata({
- Barcode? iSBN13,
- StringValue? title,
- StringValue? subTitle,
- StringValue? description,
- Iterable<
StringValue> ? authors, - StringValue? publisher,
- Int32Value? publishingYear,
- Int32Value? pages,
- StringValue? language,
- Int32Value? estimatedThicknessInMM,
- StringValue? type,
- StringValue? languageIso,
- StringValue? summary,
- Iterable<
StringValue> ? reviews, - Int32Value? conditionPct,
- StringValue? conditionDescription,
- StringValue? genre,
- StringValue? category,
- StringValue? edition,
Implementation
factory BookMetadata({
$2.Barcode? iSBN13,
$1.StringValue? title,
$1.StringValue? subTitle,
$1.StringValue? description,
$core.Iterable<$1.StringValue>? authors,
$1.StringValue? publisher,
$1.Int32Value? publishingYear,
$1.Int32Value? pages,
$1.StringValue? language,
$1.Int32Value? estimatedThicknessInMM,
$1.StringValue? type,
$1.StringValue? languageIso,
$1.StringValue? summary,
$core.Iterable<$1.StringValue>? reviews,
$1.Int32Value? conditionPct,
$1.StringValue? conditionDescription,
$1.StringValue? genre,
$1.StringValue? category,
$1.StringValue? edition,
}) {
final result = create();
if (iSBN13 != null) result.iSBN13 = iSBN13;
if (title != null) result.title = title;
if (subTitle != null) result.subTitle = subTitle;
if (description != null) result.description = description;
if (authors != null) result.authors.addAll(authors);
if (publisher != null) result.publisher = publisher;
if (publishingYear != null) result.publishingYear = publishingYear;
if (pages != null) result.pages = pages;
if (language != null) result.language = language;
if (estimatedThicknessInMM != null)
result.estimatedThicknessInMM = estimatedThicknessInMM;
if (type != null) result.type = type;
if (languageIso != null) result.languageIso = languageIso;
if (summary != null) result.summary = summary;
if (reviews != null) result.reviews.addAll(reviews);
if (conditionPct != null) result.conditionPct = conditionPct;
if (conditionDescription != null)
result.conditionDescription = conditionDescription;
if (genre != null) result.genre = genre;
if (category != null) result.category = category;
if (edition != null) result.edition = edition;
return result;
}