feat: add a book by scanning

This commit is contained in:
Alzalia 2025-08-09 01:42:22 +02:00
parent 72fd0b66a9
commit 981dce5bfe
14 changed files with 264 additions and 59 deletions

View file

@ -12,4 +12,12 @@ class Book {
String ean;
int id;
String priceNew;
factory Book.fromJSON(Map<String, dynamic> json) => Book(
author: json["author"],
ean: json["ean"],
id: json["id"],
priceNew: json["price_new"],
title: json["title"],
);
}