encode method
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['id'] = id;
pigeonMap['variantId'] = variantId;
pigeonMap['productOptions'] = productOptions;
pigeonMap['quantity'] = quantity;
return pigeonMap;
}