VendorResponse constructor

VendorResponse({
  1. required int id,
  2. @JsonKey(name: 'URL') String? url,
  3. bool? active,
  4. String? address,
  5. String? addressPost,
  6. int? amountOfProducts,
  7. @Default(<VendorTag>[]) List<VendorTag> attachedTags,
  8. String? created,
  9. String? delivery,
  10. String? deliveryDetails,
  11. String? deliveryMinSum,
  12. String? description,
  13. String? email,
  14. bool? forTesting,
  15. bool? isDeleted,
  16. String? name,
  17. String? nameLegal,
  18. int? order,
  19. String? paymentMethod,
  20. String? phone,
  21. double? rating,
  22. String? registrationAuthority,
  23. String? registrationDate,
  24. String? registrationNumber,
  25. VendorSettings? settings,
  26. String? updated,
  27. int? updatedBy,
  28. String? updater,
  29. String? website,
  30. String? workingTime,
})

Implementation

factory VendorResponse({
  required int id,
  @JsonKey(name: 'URL') String? url,
  bool? active,
  String? address,
  String? addressPost,
  int? amountOfProducts,
  @Default(<VendorTag>[]) List<VendorTag> attachedTags,
  String? created,
  String? delivery,
  String? deliveryDetails,
  String? deliveryMinSum,
  String? description,
  String? email,
  bool? forTesting,
  bool? isDeleted,
  String? name,
  String? nameLegal,
  int? order,
  String? paymentMethod,
  String? phone,
  double? rating,
  String? registrationAuthority,
  String? registrationDate,
  String? registrationNumber,
  VendorSettings? settings,
  String? updated,
  int? updatedBy,
  String? updater,
  String? website,
  String? workingTime,
  String? logo,
}) = _VendorResponse;