toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'id': id,
      'shopId': shopId,
      'productType': productType,
      'name': name,
      'imgUrl': imgUrl,
      'price': price,
      'quantity': quantity,
      'description': description,
      'available': available,
      'rating': rating,
      'specialOptions': specialOptions,
      'reviewList': reviewList,
      'deliveryProvince': deliveryProvince,
      'deliveryType': deliveryType
    };