16 lines
479 B
Dart
16 lines
479 B
Dart
import 'package:lamiter/Class/Service/service_item.dart';
|
|
|
|
class Product extends ServiceItem {
|
|
final String productCategoryId;
|
|
final String productCategoryName;
|
|
final String image;
|
|
final num price;
|
|
|
|
Product.fromJson(super.json)
|
|
: productCategoryId = json['productCategoryId'] as String,
|
|
productCategoryName = json['productCategoryName'] as String,
|
|
image = json['image'] as String,
|
|
price = json['price'] as num,
|
|
super.fromJson();
|
|
}
|