toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "catalogObjectType": catalogObjectType,
    "catalogObjectId": catalogObjectId,
    "quantity": quantity,
    "price": price,
    "currency": currency,
    "attributes": attributes,
    "objType": _objType
  };
}