Customer constructor

Customer({
  1. String? id,
  2. String? name,
  3. required String email,
  4. required String phoneNumber,
  5. double? longtitude,
  6. double? latitude,
  7. String? language,
  8. required String uuid,
  9. String? jwtToken,
  10. List<OrderProduct>? currentOrders,
  11. List<OrderProduct>? favoriteProducts,
  12. int roleId = 0,
})

Implementation

Customer(
    {this.id,
    this.name,
    required this.email,
    required this.phoneNumber,
    this.longtitude,
    this.latitude,
    this.language,
    required this.uuid,
    this.jwtToken,
    this.currentOrders,
    this.favoriteProducts,
    this.roleId = 0});