open ai service
This commit is contained in:
15
books_flutter/lib/models/book.dart
Normal file
15
books_flutter/lib/models/book.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
typedef Book = ({
|
||||
String id,
|
||||
String title,
|
||||
String author,
|
||||
String genre,
|
||||
String annotation,
|
||||
String? coverUrl,
|
||||
int? pages,
|
||||
String? language,
|
||||
int? publishedYear,
|
||||
double? rating,
|
||||
String status,
|
||||
double? progress,
|
||||
bool isFavorite,
|
||||
});
|
||||
10
books_flutter/lib/models/category.dart
Normal file
10
books_flutter/lib/models/category.dart
Normal file
@@ -0,0 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
typedef Category = ({
|
||||
String id,
|
||||
String name,
|
||||
int count,
|
||||
IconData icon,
|
||||
Color iconColor,
|
||||
Color backgroundColor,
|
||||
});
|
||||
Reference in New Issue
Block a user