Shop constructor

Shop({
  1. String? id,
  2. int roleId = 2,
  3. required String category,
  4. required String name,
  5. required String phoneNumber,
  6. List<Product>? products,
  7. String? imgUrl,
  8. required bool available,
  9. required double longtitude,
  10. required double latitude,
  11. required String language,
  12. required String uuid,
  13. required String? jwtToken,
  14. List<OrderProduct>? orders,
})

Implementation

Shop(
    {this.id,
    this.roleId = 2,
    required this.category,
    required this.name,
    required this.phoneNumber,
    this.products,
    this.imgUrl,
    required this.available,
    required this.longtitude,
    required this.latitude,
    required this.language,
    required this.uuid,
    required this.jwtToken,
    this.orders});