toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'id': id,
      'description': description,
      'price': price,
      'orderStatus': orderStatus,
      'riderStatus': riderStatus,
      'productIdList': productIdList,
      'customerId': customerId,
      'riderId': riderId,
      'shopId': shopId,
      'shopName': shopName,
      'paid': paid,
      'complete': complete
    };