You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
981B

  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'Supply.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. Supply _$SupplyFromJson(Map<String, dynamic> json) {
  7. return Supply()
  8. ..id = json['id'] as num
  9. ..name = json['name'] as String
  10. ..sku = json['sku'] as String
  11. ..manufacturer = json['manufacturer'] as String
  12. ..unit = json['unit'] as String
  13. ..tbSuppliesTypeId = json['tbSuppliesTypeId'] as num
  14. ..tbCustomerId = json['tbCustomerId'] as num
  15. ..isSelected = false;
  16. }
  17. Map<String, dynamic> _$SupplyToJson(Supply instance) => <String, dynamic>{
  18. 'id': instance.id,
  19. 'name': instance.name,
  20. 'sku': instance.sku,
  21. 'manufacturer': instance.manufacturer,
  22. 'unit': instance.unit,
  23. 'tbSuppliesTypeId': instance.tbSuppliesTypeId,
  24. 'tbCustomerId': instance.tbCustomerId,
  25. };